diff options
-rw-r--r-- | makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 #------------------------------------------------- |