X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e3cb9eefcb4e8d2d1fb45ad028468547ecc6ad9..ae177b45b258b4985ee8c9ce7848bcb4f1266f80:/src/makeprog.vc?ds=sidebyside

diff --git a/src/makeprog.vc b/src/makeprog.vc
index 3559c1ca82..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
 
@@ -41,7 +43,7 @@ wxUSE_GUI=1
 !if "$(wxUSE_GUI)" == "1"
 
 #!if "$(WXUSINGDLL)" == "1"
-#DUMMYOBJ=
+DUMMYOBJ=
 #!endif
 
 $(PROGRAM).exe:      $(WXLIB) $(OBJECTS) $(PROGRAM).res
@@ -69,7 +71,7 @@ $(LIBS)
 
 
 clean:
-        -$(RM) $(OBJECTS)
+        -$(RM) *.obj
         -$(RM) *.exe
         -$(RM) *.res
         -$(RM) *.map