]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/Makefile
Fix blendfunc auditing for texture blending shaders.
[xonotic/xonotic-maps.pk3dir.git] / scripts / Makefile
1 INFILES = $(wildcard *.shader.in)
2 GENERATEDFILES = $(patsubst %.shader.in,%.shader,$(INFILES))
3
4 all: shaderlist.txt $(GENERATEDFILES)
5
6 %.shader: %.shader.in
7         ./shader-cpp.sh "$<" > "$@"
8
9 clean:
10         $(RM) $(GENERATEDFILES)
11
12 .PHONY: shaderlist.txt
13 shaderlist.txt:
14         ls -1 *.shader | cut -d . -f 1 > "$@"