]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed code to use the RM environment variable (if one exists) to delete files....
authorGeorge Tasker <gtasker@allenbrook.com>
Tue, 16 Jan 2001 10:59:36 +0000 (10:59 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Tue, 16 Jan 2001 10:59:36 +0000 (10:59 +0000)
Target added for building .OBJ files for .C files in DEBUG or RELEASE subdirs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makevc.env

index 4566c9a4fd21bf50c762428f63578215c42dda99..71d8e2dca052d5f3ad7d0b9acf7e0bf167022873 100644 (file)
@@ -8,6 +8,10 @@
 #
 !include <ntwin32.mak>
 
 #
 !include <ntwin32.mak>
 
+!if "$(RM)" == ""
+RM= erase
+!endif
+
 WXVERSION=23_0
 WIN95=1
 
 WXVERSION=23_0
 WIN95=1
 
@@ -227,6 +231,12 @@ $(CPPFLAGS2) /Fo$@ /c $<
 $(CPPFLAGS2) /Fo$@ /c $<
 <<
 
 $(CPPFLAGS2) /Fo$@ /c $<
 <<
 
+#use CPPFLAGS2 so as not to use precompiled headers
+{}.c{$D}.obj:
+       cl @<<
+$(CPPFLAGS2) /Fo$@ /c $<
+<<
+
 {}.cpp{$D}.obj:
        cl @<<
 $(CPPFLAGS) /Fo$@ /c /Tp $<
 {}.cpp{$D}.obj:
        cl @<<
 $(CPPFLAGS) /Fo$@ /c /Tp $<