]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/Makefile
ready for merge after compiling
[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 shaderlist.txt:
13         ls -1 *.shader | cut -d . -f 1 > "$@"