mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Move MSVC clean out of core makefile and into windows.mak where it belongs.
This commit is contained in:
parent
ab32fcf575
commit
38978f878a
2 changed files with 9 additions and 7 deletions
8
makefile
8
makefile
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue