diff options
author | 2016-04-21 15:21:08 +0200 | |
---|---|---|
committer | 2016-04-21 15:21:08 +0200 | |
commit | ff27716bec51cad5f073019bee093a2deee6fc47 (patch) | |
tree | f9ff3091534291159747e63bf80a3fcd0063db62 | |
parent | 5e26d00e6b608f59558051b60c4eb9e3d2a41a5d (diff) |
compile just one chain with
make shaders CHAIN=unfiltered
-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 $@ |