compile just one chain with

make shaders CHAIN=unfiltered
This commit is contained in:
Miodrag Milanovic 2016-04-21 15:21:08 +02:00
parent 5e26d00e6b
commit ff27716bec
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 $@