Move MSVC clean out of core makefile and into windows.mak where it belongs.

This commit is contained in:
Aaron Giles 2009-09-21 09:03:25 +00:00
parent ab32fcf575
commit 38978f878a
2 changed files with 9 additions and 7 deletions

View File

@ -509,7 +509,7 @@ tools: maketree $(TOOLS)
maketree: $(sort $(OBJDIRS)) maketree: $(sort $(OBJDIRS))
clean: clean: $(OSDCLEAN)
@echo Deleting object tree $(OBJ)... @echo Deleting object tree $(OBJ)...
$(RM) -r $(OBJ) $(RM) -r $(OBJ)
@echo Deleting $(EMULATOR)... @echo Deleting $(EMULATOR)...
@ -520,12 +520,6 @@ ifdef MAP
@echo Deleting $(FULLNAME).map... @echo Deleting $(FULLNAME).map...
$(RM) $(FULLNAME).map $(RM) $(FULLNAME).map
endif endif
ifdef MSVC_BUILD
@echo Deleting Visual Studio specific files...
$(RM) *.pdb
$(RM) *.lib
$(RM) *.exp
endif

View File

@ -157,6 +157,14 @@ $(WINOBJ)/vconv.o: $(WINSRC)/vconv.c
@echo Compiling $<... @echo Compiling $<...
@cl.exe /nologo /O1 -D_CRT_SECURE_NO_DEPRECATE -c $< /Fo$@ @cl.exe /nologo /O1 -D_CRT_SECURE_NO_DEPRECATE -c $< /Fo$@
OSDCLEAN = msvcclean
msvcclean:
@echo Deleting Visual Studio specific files...
$(RM) *.pdb
$(RM) *.lib
$(RM) *.exp
endif endif
endif endif