X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce51dc7507f31a6baadb8709ac4b807cd2dad421..976f924083419b6a7feb1ff7d597c746a70abf1a:/src/makeprog.sc?ds=sidebyside

diff --git a/src/makeprog.sc b/src/makeprog.sc
index 3e078c813a..165c33ca60 100644
--- a/src/makeprog.sc
+++ b/src/makeprog.sc
@@ -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 -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
@@ -21,7 +17,7 @@ clean:
 	-del *.map
 	-del *.rws
     -del *.sym
-    -del sc16.def
+
 
 cleanexe:
     -del *.exe