bootstrap: hook into build system

- add bootstrap/Makefile to generate/cleanup bootstrap/doom2.wad
- call bootstrap/Makefile from main Makefile as appropriate
- delete bootstrap/doom2.wad, add bootstrap/.gitignore
master
RjY 2014-04-09 21:25:27 +01:00
parent 88cdc36b12
commit f6ea500080
4 changed files with 14 additions and 0 deletions

View File

@ -48,6 +48,7 @@ subdirs:
$(MAKE) -C lumps/genmidi
$(MAKE) -C lumps/dmxgus
$(MAKE) -C lumps/textures
$(MAKE) -C bootstrap
# this is a useless dependency to force builds
@ -133,6 +134,7 @@ clean:
$(MAKE) -C lumps/genmidi clean
$(MAKE) -C lumps/dmxgus clean
$(MAKE) -C lumps/textures clean
$(MAKE) -C bootstrap clean
prefix?=/usr/local
bindir?=/bin

1
bootstrap/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
doom2.wad

11
bootstrap/Makefile Normal file
View File

@ -0,0 +1,11 @@
# Build a fake IWAD to bootstrap deutex
IWAD=./doom2.wad
$(IWAD): ../lumps/cph/misc-lumps/playpal-base.lmp
./bootstrap.py < $< > $@
clean:
rm -f $(IWAD)
.PHONY: clean

Binary file not shown.