X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ded51f2fa07a060f5212a8957db5ce356775866..bd1a4a99fc1bec4ac5d0b14379dc5345d6ce3253:/src/makeprog.sc diff --git a/src/makeprog.sc b/src/makeprog.sc index 31562629b7..165c33ca60 100644 --- a/src/makeprog.sc +++ b/src/makeprog.sc @@ -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 + + +