mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
Move MSVC clean out of core makefile and into windows.mak where it belongs.
This commit is contained in:
parent
ab32fcf575
commit
38978f878a
8
makefile
8
makefile
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user