fix for dmc compilation of projects with more than one obj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5d6dcfb327
commit
b911bc32a1
@ -6,14 +6,10 @@ INCLUDE=$(INCDIR)
|
||||
|
||||
include $(WXDIR)\src\makesc.env
|
||||
|
||||
$(TARGET).exe: $(TARGET).obj $(TARGET).res
|
||||
link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBDIR)\ $(LIBS)
|
||||
$(TARGET).exe: $(OBJECTS) $(TARGET).res
|
||||
link $(LDFLAGS) /DELEXECUTABLE /RC $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS)
|
||||
|
||||
|
||||
sc32.def:
|
||||
echo EXETYPE NT > sc32.def
|
||||
echo SUBSYSTEM WINDOWS >> sc32.def
|
||||
|
||||
clean:
|
||||
-del *.obj
|
||||
-del *.exe
|
||||
@ -21,7 +17,7 @@ clean:
|
||||
-del *.map
|
||||
-del *.rws
|
||||
-del *.sym
|
||||
-del sc16.def
|
||||
|
||||
|
||||
cleanexe:
|
||||
-del *.exe
|
||||
|
@ -35,7 +35,7 @@ DEFFILE=sc32.def
|
||||
.$(SRCSUFF).obj:
|
||||
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
|
||||
|
||||
# -Jm: relaxed type checking
|
||||
# -Jm: relaxed type checking only for .C files
|
||||
.c.obj:
|
||||
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user