]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.sc
wxUniversal STL-ification.
[wxWidgets.git] / src / makeprog.sc
index 31562629b778d0a0a61c691c95209d6fb5fc2210..165c33ca60e96fdd41b3b73d8721c3e92c7f727b 100644 (file)
@@ -6,18 +6,23 @@ INCLUDE=$(INCDIR)
 
 include $(WXDIR)\src\makesc.env
 
-$(TARGET).exe: $(TARGET).obj $(TARGET).res
-       link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBS)
+$(TARGET).exe: $(OBJECTS) $(TARGET).res
+       link $(LDFLAGS) /DELEXECUTABLE /RC -L/exet:nt/su:windows $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS)
     
 
-sc32.def:
-     echo EXETYPE NT > sc32.def
-     echo SUBSYSTEM WINDOWS >> sc32.def
-
 clean:
     -del *.obj
        -del *.exe
        -del *.res
        -del *.map
        -del *.rws
-    -del sc16.def
+    -del *.sym
+
+
+cleanexe:
+    -del *.exe
+
+relink: cleanexe $(TARGET).exe
+
+
+