diff options
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | src/osd/modules/render/bgfx/shaders/makefile | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1589,7 +1589,7 @@ shaders: bgfx-tools -$(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/shaders rebuild + $(SILENT) $(MAKE) -C $(SRC)/osd/modules/render/bgfx/shaders rebuild CHAIN="$(CHAIN)" #------------------------------------------------- # Translation diff --git a/src/osd/modules/render/bgfx/shaders/makefile b/src/osd/modules/render/bgfx/shaders/makefile index e5ee052ab31..70c1ac31127 100644 --- a/src/osd/modules/render/bgfx/shaders/makefile +++ b/src/osd/modules/render/bgfx/shaders/makefile @@ -6,8 +6,11 @@ include shader.mk SUBDIRS := $(patsubst .,,$(patsubst ./,,$(shell find . -type d))) - +ifneq ($(CHAIN),) +rebuild: chains/$(CHAIN) +else rebuild: main $(SUBDIRS) +endif $(SUBDIRS): @echo $@ |