]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.sc
Force wxUSE_DEBUGREPORT to disabled for OS/2.
[wxWidgets.git] / src / makeprog.sc
index 2a9a5fbe15fca319ca0abbe033af1180e4f5a864..165c33ca60e96fdd41b3b73d8721c3e92c7f727b 100644 (file)
@@ -6,18 +6,23 @@ 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 -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
+
+
+