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 $<