textures: Add textures.cfg as make dependency.

If textures.cfg changes, rebuild all texture lumps.
This commit is contained in:
Simon Howard 2014-01-26 22:07:13 +00:00
parent 085ced2434
commit ddbd396688

View file

@ -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 \