aboutsummaryrefslogtreecommitdiff
path: root/light-client/textures/makefile
blob: 1dd60ff49e07c55dd26aea35317997a7441f0467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ALL_TA = $(patsubst %.png,%.ta,$(shell find -name '*.png'))
ALL_PNG = $(patsubst %.ta,%.png,$(shell find -name '*.ta'))

.PHONY: tex_export tex_import clean
tex_import: $(ALL_TA)
tex_export: $(ALL_PNG)
clean:
	rm $(ALL_PNG)

%.ta: %.png
	../../target/release/tex_import $< $@
%.png: %.ta
	../../target/release/tex_export $< $@