Merge pull request #5 from khaledhosny/speedup-make
Speed up make by calling flag_glyph_name.py oncepull/6/head
commit
8839dc42e1
3
Makefile
3
Makefile
|
@ -60,8 +60,9 @@ FLAGS_DIR = ./flags
|
|||
|
||||
glyph_name = $(shell ./flag_glyph_name.py $(flag))
|
||||
|
||||
GLYPH_NAMES := $(shell ./flag_glyph_name.py $(FLAGS))
|
||||
WAVED_FLAGS := $(foreach flag,$(FLAGS),$(FLAGS_DIR)/$(flag).png)
|
||||
PNG128_FLAGS := $(foreach flag,$(FLAGS),$(addprefix ./png/128/emoji_$(glyph_name),.png))
|
||||
PNG128_FLAGS := $(foreach glyph_name,$(GLYPH_NAMES),$(addprefix ./png/128/emoji_$(glyph_name),.png))
|
||||
|
||||
$(FLAGS_DIR)/%.png: $(FLAGS_SRC_DIR)/%.png ./waveflag $(PNGQUANT)
|
||||
mkdir -p $(FLAGS_DIR)
|
||||
|
|
Loading…
Reference in New Issue