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
|
include $(WXDIR)\src\makesc.env
|
||||||
|
|
||||||
$(TARGET).exe: $(TARGET).obj $(TARGET).res
|
$(TARGET).exe: $(OBJECTS) $(TARGET).res
|
||||||
link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBDIR)\ $(LIBS)
|
link $(LDFLAGS) /DELEXECUTABLE /RC $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS)
|
||||||
|
|
||||||
|
|
||||||
sc32.def:
|
|
||||||
echo EXETYPE NT > sc32.def
|
|
||||||
echo SUBSYSTEM WINDOWS >> sc32.def
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-del *.obj
|
-del *.obj
|
||||||
-del *.exe
|
-del *.exe
|
||||||
@ -21,7 +17,7 @@ clean:
|
|||||||
-del *.map
|
-del *.map
|
||||||
-del *.rws
|
-del *.rws
|
||||||
-del *.sym
|
-del *.sym
|
||||||
-del sc16.def
|
|
||||||
|
|
||||||
cleanexe:
|
cleanexe:
|
||||||
-del *.exe
|
-del *.exe
|
||||||
|
@ -35,7 +35,7 @@ DEFFILE=sc32.def
|
|||||||
.$(SRCSUFF).obj:
|
.$(SRCSUFF).obj:
|
||||||
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
|
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) $< -o$@
|
||||||
|
|
||||||
# -Jm: relaxed type checking
|
# -Jm: relaxed type checking only for .C files
|
||||||
.c.obj:
|
.c.obj:
|
||||||
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
|
*$(CC) -c $(CFLAGS) $(INCLUDE) $(OPTIONS) -DUSE_DEFINE -Jm $< -o$@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user