X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ec5903769b04d81a2501636050135a72cd1ecbc..4b586201d35436b6b2b909631a8a47af53269957:/src/makeprog.vc?ds=sidebyside diff --git a/src/makeprog.vc b/src/makeprog.vc index f33a3f4ad1..e2c76535c4 100644 --- a/src/makeprog.vc +++ b/src/makeprog.vc @@ -13,7 +13,9 @@ # Set WXDIR for your system WXDIR = $(WXWIN) +!ifndef WXUSINGDLL WXUSINGDLL=0 +!endif !include $(WXDIR)\src\makevc.env @@ -38,7 +40,11 @@ wxclean: wxUSE_GUI=1 !endif -!if "$(wxUSE_GUI)" == "1" +!if "$(wxUSE_GUI)" == "1" + +#!if "$(WXUSINGDLL)" == "1" +DUMMYOBJ= +#!endif $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res $(link) @<< @@ -65,7 +71,7 @@ $(LIBS) clean: - -$(RM) $(OBJECTS) + -$(RM) *.obj -$(RM) *.exe -$(RM) *.res -$(RM) *.map