Uncommented dependency file generating rule.

$(EXE_POSTFIX) use instead of ".exe".

svn path=/trunk/; revision=4121
This commit is contained in:
Nedko Arnaudov 2003-02-09 02:18:10 +00:00
parent 747e565cb0
commit 652669005d

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.9 2003/01/15 19:53:01 robd Exp $ # $Id: Makefile,v 1.10 2003/02/09 02:18:10 narnaoud Exp $
# #
# ReactOS makefile for RegExpl # ReactOS makefile for RegExpl
# #
@ -22,9 +22,9 @@ IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
IMPORT_USER32=$(ROS_LIB)/user32.a IMPORT_USER32=$(ROS_LIB)/user32.a
#depend.mak : *.h depend.mak : *.h
# $(CC) \ $(CC) \
# -MM *.cpp *.c > $@ -MM *.cpp *.c > $@
OBJECTS = \ OBJECTS = \
ArgumentParser.o \ ArgumentParser.o \
@ -65,9 +65,9 @@ CLEAN_FILES = \
depend.mak depend.mak
$(TARGET_NAME).exe: $(OBJECTS) $(TARGET_NAME).coff $(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS) $(TARGET_NAME).coff
$(CC) -Wl,--subsystem,console -o $(TARGET_NAME).exe $(OBJECTS) $(TARGET_NAME).coff $(IMPORT_KERNEL32) $(IMPORT_USER32) $(CC) -Wl,--subsystem,console -o $(TARGET_NAME)$(EXE_POSTFIX) $(OBJECTS) $(TARGET_NAME).coff $(IMPORT_KERNEL32) $(IMPORT_USER32)
$(NM) --numeric-sort $(TARGET_NAME).exe > $(TARGET_NAME).sym $(NM) --numeric-sort $(TARGET_NAME)$(EXE_POSTFIX) > $(TARGET_NAME).sym
#$(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS) #$(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS)