]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makelib.vc
added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf...
[wxWidgets.git] / src / makelib.vc
index afbc1456c0668581b41438ccde9c30f3962d6585..2c4b8b9b5ade67acd36085aa5090b0ce1480386d 100644 (file)
@@ -14,7 +14,14 @@ WXDIR = $(WXWIN)
 
 !include $(WXDIR)\src\makevc.env
 
-all:    $(LIBTARGET)
+!if "$(RM)" == ""
+RM= erase
+!endif
+
+all:    $(D) $(EXTRATARGETS) $(LIBTARGET)
+
+$(D) :
+       mkdir $(D)
 
 wx:
         cd $(WXDIR)\src\msw
@@ -25,7 +32,7 @@ wxclean:
         nmake -f makefile.vc clean
 
 $(LIBTARGET): $(OBJECTS)
-       -erase $(LIBTARGET)
+       -$(RM) $(LIBTARGET)
        $(implib) @<<
 -out:$(LIBTARGET)
 -machine:$(CPU)
@@ -33,10 +40,10 @@ $(OBJECTS)
 <<
 
 clean:
-        -erase $(LIBTARGET)
-        -erase $(OBJECTS)
-        -erase *.exe
-        -erase *.res
-        -erase *.map
-        -erase *.sbr
-        -erase *.pdb
+        -$(RM) $(LIBTARGET)
+        -$(RM) $(OBJECTS)
+        -$(RM) *.exe
+        -$(RM) *.res
+        -$(RM) *.map
+        -$(RM) *.sbr
+        -$(RM) *.pdb