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))
clean:
clean: $(OSDCLEAN)
@echo Deleting object tree $(OBJ)...
$(RM) -r $(OBJ)
@echo Deleting $(EMULATOR)...
@ -520,12 +520,6 @@ ifdef MAP
@echo Deleting $(FULLNAME).map...
$(RM) $(FULLNAME).map
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 $<...
@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