X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=scripts%2FMakefile;h=ba99e8efd406081d28424c547e1ae5c8de92ea31;hb=HEAD;hp=a4bfcefb07bdabac7b5f7bf8f49f21a1016fd859;hpb=ff0337c72c56549298ff5cff59587752509af4b4;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/Makefile b/scripts/Makefile index a4bfcefb..ba99e8ef 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -7,7 +7,8 @@ all: shaderlist.txt $(GENERATEDFILES) ./shader-cpp.sh "$<" > "$@" clean: - $(RM) "$(GENERATEDFILES)" + $(RM) $(GENERATEDFILES) +.PHONY: shaderlist.txt shaderlist.txt: ls -1 *.shader | cut -d . -f 1 > "$@"