mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Updated makefile to support more building environments and to prevent crashing if folders are missing (nw)
This commit is contained in:
parent
1054cfe7fd
commit
6e5dc72080
14
makefile
14
makefile
@ -185,6 +185,13 @@ $(error Unable to detect OS from uname -a: $(UNAME))
|
||||
endif
|
||||
endif
|
||||
|
||||
MINGW:=
|
||||
ifdef MINGW64
|
||||
MINGW := $(MINGW64)
|
||||
else
|
||||
MINGW := $(MINGW32)
|
||||
endif
|
||||
|
||||
#-------------------------------------------------
|
||||
# specify core target: mame, ldplayer
|
||||
# specify subtarget: mame, arcade, mess, tiny, etc.
|
||||
@ -1514,9 +1521,14 @@ cppcheck:
|
||||
.PHONY: shaders bgfx-tools
|
||||
|
||||
bgfx-tools:
|
||||
$(SILENT) $(MAKE) $(MAKEPARAMS) -C 3rdparty/bgfx -f makefile dist-$(GENIEOS)
|
||||
$(SILENT) $(MAKE) -C 3rdparty/bgfx -f makefile dist-$(GENIEOS) CC="$(CC)" CXX="$(CXX)" MINGW="$(MINGW)"
|
||||
|
||||
shaders: bgfx-tools
|
||||
-$(call MKDIR,build/bgfx/shaders/dx11)
|
||||
-$(call MKDIR,build/bgfx/shaders/dx9)
|
||||
-$(call MKDIR,build/bgfx/shaders/gles)
|
||||
-$(call MKDIR,build/bgfx/shaders/glsl)
|
||||
-$(call MKDIR,build/bgfx/shaders/metal)
|
||||
$(SILENT) $(MAKE) -C $(SRC)/osd/modules/render/bgfx rebuild
|
||||
|
||||
#-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user