mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 16:25:47 -04:00
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
This commit is contained in:
parent
88cdc36b12
commit
f6ea500080
4 changed files with 14 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -48,6 +48,7 @@ subdirs:
|
||||||
$(MAKE) -C lumps/genmidi
|
$(MAKE) -C lumps/genmidi
|
||||||
$(MAKE) -C lumps/dmxgus
|
$(MAKE) -C lumps/dmxgus
|
||||||
$(MAKE) -C lumps/textures
|
$(MAKE) -C lumps/textures
|
||||||
|
$(MAKE) -C bootstrap
|
||||||
|
|
||||||
|
|
||||||
# this is a useless dependency to force builds
|
# this is a useless dependency to force builds
|
||||||
|
@ -133,6 +134,7 @@ clean:
|
||||||
$(MAKE) -C lumps/genmidi clean
|
$(MAKE) -C lumps/genmidi clean
|
||||||
$(MAKE) -C lumps/dmxgus clean
|
$(MAKE) -C lumps/dmxgus clean
|
||||||
$(MAKE) -C lumps/textures clean
|
$(MAKE) -C lumps/textures clean
|
||||||
|
$(MAKE) -C bootstrap clean
|
||||||
|
|
||||||
prefix?=/usr/local
|
prefix?=/usr/local
|
||||||
bindir?=/bin
|
bindir?=/bin
|
||||||
|
|
1
bootstrap/.gitignore
vendored
Normal file
1
bootstrap/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
doom2.wad
|
11
bootstrap/Makefile
Normal file
11
bootstrap/Makefile
Normal 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.
Loading…
Add table
Add a link
Reference in a new issue