From: George Tasker <gtasker@allenbrook.com> Date: Fri, 30 Mar 2001 13:17:47 +0000 (+0000) Subject: If wxUSE_GUI was not defined, then apps using this file for their settings would... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ec5903769b04d81a2501636050135a72cd1ecbc If wxUSE_GUI was not defined, then apps using this file for their settings would not build the .RES file and link it in. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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