diff options
Diffstat (limited to 'light-client/textures/makefile')
-rw-r--r-- | light-client/textures/makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/light-client/textures/makefile b/light-client/textures/makefile index 1dd60ff4..9b3c1097 100644 --- a/light-client/textures/makefile +++ b/light-client/textures/makefile @@ -1,16 +1,19 @@ -ALL_TA = $(patsubst %.png,%.ta,$(shell find -name '*.png')) -ALL_PNG = $(patsubst %.ta,%.png,$(shell find -name '*.ta')) +ALL_TA = $(patsubst %.png,%.ta,$(shell find tiles -name '*.png')) +ALL_PNG = $(patsubst %.ta,%.png,$(shell find tiles -name '*.ta')) .PHONY: tex_export tex_import clean tex_import: $(ALL_TA) tex_export: $(ALL_PNG) +tex_pack: atlas.ta clean: - rm $(ALL_PNG) + rm -f $(ALL_PNG) %.ta: %.png ../../target/release/tex_import $< $@ %.png: %.ta ../../target/release/tex_export $< $@ +atlas.ta atlas.meta.csv: $(ALL_TA) + ../../target/release/tex_pack $@ atlas.meta.csv $^ |