]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/Makefile
Delete the "cubemaps" folder, which was meant to be temporary but has been around...
[xonotic/xonotic-maps.pk3dir.git] / scripts / Makefile
index 2118d706b99b7a7ec868112e2270311ea53f2237..ba99e8efd406081d28424c547e1ae5c8de92ea31 100644 (file)
@@ -1,13 +1,14 @@
 INFILES = $(wildcard *.shader.in)
 GENERATEDFILES = $(patsubst %.shader.in,%.shader,$(INFILES))
 
-all: $(GENERATEDFILES)
+all: shaderlist.txt $(GENERATEDFILES)
 
-%.shader: shaderlist.txt %.shader.in
+%.shader: %.shader.in
        ./shader-cpp.sh "$<" > "$@"
 
 clean:
-       $(RM) "$(GENERATEDFILES)"
+       $(RM) $(GENERATEDFILES)
 
+.PHONY: shaderlist.txt
 shaderlist.txt:
        ls -1 *.shader | cut -d . -f 1 > "$@"