]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.vc
set device origin when drawing on a frame in order to not overwrite the menu/toolbar...
[wxWidgets.git] / src / makeprog.vc
index a9cdd12b2e993b797c7d1fa1a47086bd5ba292da..e2c76535c4c6804caccddeca981a1b1b9243fe2c 100644 (file)
@@ -13,7 +13,9 @@
 # Set WXDIR for your system
 WXDIR = $(WXWIN)
 
 # Set WXDIR for your system
 WXDIR = $(WXWIN)
 
+!ifndef WXUSINGDLL
 WXUSINGDLL=0
 WXUSINGDLL=0
+!endif
 
 !include $(WXDIR)\src\makevc.env
 
 
 !include $(WXDIR)\src\makevc.env
 
@@ -34,7 +36,15 @@ wxclean:
 #        cd $(THISDIR)
 
 
 #        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) @<<
 
 $(PROGRAM).exe:      $(WXLIB) $(OBJECTS) $(PROGRAM).res
        $(link) @<<
@@ -61,7 +71,7 @@ $(LIBS)
 
 
 clean:
 
 
 clean:
-        -$(RM) $(OBJECTS)
+        -$(RM) *.obj
         -$(RM) *.exe
         -$(RM) *.res
         -$(RM) *.map
         -$(RM) *.exe
         -$(RM) *.res
         -$(RM) *.map