From ddbd396688fa4dfd816244f5ea74eb226852d964 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 26 Jan 2014 22:07:13 +0000 Subject: [PATCH] textures: Add textures.cfg as make dependency. If textures.cfg changes, rebuild all texture lumps. --- lumps/textures/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lumps/textures/Makefile b/lumps/textures/Makefile index 4332ee53..26c0a601 100644 --- a/lumps/textures/Makefile +++ b/lumps/textures/Makefile @@ -3,7 +3,7 @@ CPP=../../scripts/simplecpp all: phase1/texture1.lmp phase2/texture1.lmp freedm/texture1.lmp -phase1/texture1.lmp: +phase1/texture1.lmp: textures.cfg $(CPP) -DDOOM1 -DULTDOOM < textures.cfg | \ ./build-textures -compat_texture1=doom1/texture1.txt \ -compat_texture2=doom1/texture2.txt \ @@ -13,7 +13,7 @@ phase1/texture1.lmp: -output_pnames=phase1/pnames.lmp \ -output_pnames_txt=phase1/pnames.txt -phase2/texture1.lmp: +phase2/texture1.lmp: textures.cfg $(CPP) -DDOOM1 -DDOOM2 < textures.cfg | \ ./build-textures -compat_texture1=doom2/texture1.txt \ -compat_pnames=doom2/pnames.txt \ @@ -21,7 +21,7 @@ phase2/texture1.lmp: -output_pnames=phase2/pnames.lmp \ -output_pnames_txt=phase2/pnames.txt -freedm/texture1.lmp: +freedm/texture1.lmp: textures.cfg $(CPP) -DDOOM1 -DDOOM2 -DFREEDM < textures.cfg | \ ./build-textures -compat_texture1=doom2/texture1.txt \ -compat_pnames=doom2/pnames.txt \