mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00

Implemented user-mode APCs (still some bugs) Began implementing shared memory, still some locking issues svn path=/trunk/; revision=792
44 lines
819 B
Makefile
44 lines
819 B
Makefile
#
|
|
#
|
|
#
|
|
OBJECTS= ../common/crt0.o apc.o
|
|
PROGS= apc.exe
|
|
|
|
BASE_CFLAGS = -I../../include
|
|
LIBS = ../../lib/crtdll/crtdll.a ../../lib/kernel32/kernel32.a \
|
|
../../lib/ntdll/ntdll.a
|
|
|
|
all: $(PROGS)
|
|
|
|
.phony: all
|
|
|
|
clean:
|
|
- $(RM) apc.o
|
|
- $(RM) apc.exe
|
|
- $(RM) apc.sym
|
|
|
|
.phony: clean
|
|
|
|
floppy: $(PROGS:%=$(FLOPPY_DIR)/apps/%)
|
|
|
|
$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
|
else
|
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
|
endif
|
|
|
|
dist: $(PROGS:%=../../$(DIST_DIR)/apps/%)
|
|
|
|
$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: %
|
|
ifeq ($(DOSCLI),yes)
|
|
$(CP) $* ..\..\$(DIST_DIR)\apps\$*
|
|
else
|
|
$(CP) $* ../../$(DIST_DIR)/apps/$*
|
|
endif
|
|
|
|
apc.exe: $(OBJECTS) $(LIBS)
|
|
$(LD) $(OBJECTS) $(LIBS) -o apc.exe
|
|
$(NM) --numeric-sort apc.exe > apc.sym
|
|
|
|
include ../../rules.mak
|