branches/bgfx_shader/makefile
r255118 | r255119 | |
185 | 185 | endif |
186 | 186 | endif |
187 | 187 | |
| 188 | MINGW:= |
| 189 | ifdef MINGW64 |
| 190 | MINGW := $(MINGW64) |
| 191 | else |
| 192 | MINGW := $(MINGW32) |
| 193 | endif |
| 194 | |
188 | 195 | #------------------------------------------------- |
189 | 196 | # specify core target: mame, ldplayer |
190 | 197 | # specify subtarget: mame, arcade, mess, tiny, etc. |
r255118 | r255119 | |
1514 | 1521 | .PHONY: shaders bgfx-tools |
1515 | 1522 | |
1516 | 1523 | bgfx-tools: |
1517 | | $(SILENT) $(MAKE) $(MAKEPARAMS) -C 3rdparty/bgfx -f makefile dist-$(GENIEOS) |
| 1524 | $(SILENT) $(MAKE) -C 3rdparty/bgfx -f makefile dist-$(GENIEOS) CC="$(CC)" CXX="$(CXX)" MINGW="$(MINGW)" |
1518 | 1525 | |
1519 | 1526 | shaders: bgfx-tools |
| 1527 | -$(call MKDIR,build/bgfx/shaders/dx11) |
| 1528 | -$(call MKDIR,build/bgfx/shaders/dx9) |
| 1529 | -$(call MKDIR,build/bgfx/shaders/gles) |
| 1530 | -$(call MKDIR,build/bgfx/shaders/glsl) |
| 1531 | -$(call MKDIR,build/bgfx/shaders/metal) |
1520 | 1532 | $(SILENT) $(MAKE) -C $(SRC)/osd/modules/render/bgfx rebuild |
1521 | 1533 | |
1522 | 1534 | #------------------------------------------------- |