X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0548ca8d4306e173b8c01202e8ed029a70eb4642..d2c52078dc8bf1f6f69b9f1693860d6345686767:/src/makeprog.vc?ds=sidebyside diff --git a/src/makeprog.vc b/src/makeprog.vc index a9cdd12b2e..f33a3f4ad1 100644 --- a/src/makeprog.vc +++ b/src/makeprog.vc @@ -34,6 +34,10 @@ wxclean: # cd $(THISDIR) +!if "$(wxUSE_GUI)" == "" +wxUSE_GUI=1 +!endif + !if "$(wxUSE_GUI)" == "1" $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res