From: George Tasker Date: Tue, 16 Jan 2001 10:59:36 +0000 (+0000) Subject: Changed code to use the RM environment variable (if one exists) to delete files.... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0580ae4b9be3a39fbefd88429dbc3920f5590529 Changed code to use the RM environment variable (if one exists) to delete files. If one does not exist, the ERASE command is used which is what was used previously 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 --- diff --git a/src/makevc.env b/src/makevc.env index 4566c9a4fd..71d8e2dca0 100644 --- a/src/makevc.env +++ b/src/makevc.env @@ -8,6 +8,10 @@ # !include +!if "$(RM)" == "" +RM= erase +!endif + WXVERSION=23_0 WIN95=1 @@ -227,6 +231,12 @@ $(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 $<