From a3ae98e65f9e9caae37694e87b5ac67936f777b7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 5 Apr 2012 16:29:54 +0200 Subject: [PATCH] also make a shaderlist maker --- scripts/Makefile | 13 +++++++++++++ scripts/shaderlist.txt | 10 +++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 scripts/Makefile diff --git a/scripts/Makefile b/scripts/Makefile new file mode 100644 index 00000000..2118d706 --- /dev/null +++ b/scripts/Makefile @@ -0,0 +1,13 @@ +INFILES = $(wildcard *.shader.in) +GENERATEDFILES = $(patsubst %.shader.in,%.shader,$(INFILES)) + +all: $(GENERATEDFILES) + +%.shader: shaderlist.txt %.shader.in + ./shader-cpp.sh "$<" > "$@" + +clean: + $(RM) "$(GENERATEDFILES)" + +shaderlist.txt: + ls -1 *.shader | cut -d . -f 1 > "$@" diff --git a/scripts/shaderlist.txt b/scripts/shaderlist.txt index e9253184..57226fa3 100644 --- a/scripts/shaderlist.txt +++ b/scripts/shaderlist.txt @@ -13,31 +13,33 @@ exomorphx exx facility114invx facility114x -grass liquids_lava liquids_slime liquids_water logos map_courtfun +map_darkzone +map_g-23 map_glowplant map_leave_em_behind +map_lightspeed map_newtonian-nightmare map_red-planet +map_solarium map_space-elevator map_stormkeep map_techassault map_xoylent -map_solarium metaltechx model_bigfan01 model_crate02 model_desertfactory +model_lightspeed model_teleporters model_trak model_tree model_walker-static model_xonotic_jumppad01 -model_xoylent narmorx phillipk1x phillipk2x @@ -57,5 +59,3 @@ trak4x trak5x trak6x trak7x - - -- 2.39.2