X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0548ca8d4306e173b8c01202e8ed029a70eb4642..8d36b2167df7e86ecfc58d148eaf6abe0a5b7971:/src/makeprog.vc diff --git a/src/makeprog.vc b/src/makeprog.vc index a9cdd12b2e..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 @@ -34,7 +36,15 @@ wxclean: # cd $(THISDIR) -!if "$(wxUSE_GUI)" == "1" +!if "$(wxUSE_GUI)" == "" +wxUSE_GUI=1 +!endif + +!if "$(wxUSE_GUI)" == "1" + +#!if "$(WXUSINGDLL)" == "1" +DUMMYOBJ= +#!endif $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res $(link) @<< @@ -61,7 +71,7 @@ $(LIBS) clean: - -$(RM) $(OBJECTS) + -$(RM) *.obj -$(RM) *.exe -$(RM) *.res -$(RM) *.map