mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-29 23:16:55 -04:00
lumps: run wadinfo through simplecpp
This commit is contained in:
parent
61a0917526
commit
b44c2497d3
4 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -62,6 +62,7 @@ doom.gpl
|
|||
/lumps/freedoom.lmp
|
||||
/lumps/genmidi.lmp
|
||||
/lumps/playpal.lmp
|
||||
/lumps/*wdinf.lmp
|
||||
|
||||
/lumps/colormap/*.lmp
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -34,6 +34,7 @@ subdirs:
|
|||
$(MAKE) -C lumps/genmidi
|
||||
$(MAKE) -C lumps/dmxgus
|
||||
$(MAKE) -C lumps/textures
|
||||
$(MAKE) -C lumps/wadinfo
|
||||
$(MAKE) -C bootstrap
|
||||
|
||||
|
||||
|
@ -159,6 +160,7 @@ clean:
|
|||
$(MAKE) -C lumps/genmidi clean
|
||||
$(MAKE) -C lumps/dmxgus clean
|
||||
$(MAKE) -C lumps/textures clean
|
||||
$(MAKE) -C lumps/wadinfo clean
|
||||
$(MAKE) -C manual clean
|
||||
|
||||
# Test targets some of which are a dependency of "test".
|
||||
|
|
15
lumps/wadinfo/Makefile
Normal file
15
lumps/wadinfo/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
CPP=../../scripts/simplecpp
|
||||
|
||||
all: ../fdmwdinf.lmp ../p1_wdinf.lmp ../p2_wdinf.lmp
|
||||
|
||||
../fdmwdinf.lmp: wadinfo.txt
|
||||
$(CPP) -DFREEDM < $< > $@
|
||||
|
||||
../p1_wdinf.lmp: wadinfo.txt
|
||||
$(CPP) -DPHASE1 < $< > $@
|
||||
|
||||
../p2_wdinf.lmp: wadinfo.txt
|
||||
$(CPP) -DPHASE2 < $< > $@
|
||||
|
||||
clean:
|
||||
$(RM) ../fdmwdinf.lmp ../p1_wdinf.lmp ../p2_wdinf.lmp
|
11
lumps/wadinfo/README
Normal file
11
lumps/wadinfo/README
Normal file
|
@ -0,0 +1,11 @@
|
|||
This directory contains the source wadinfo text file used for Freedoom.
|
||||
|
||||
WadInfo (not to be confused with DeuTex wadinfo) is a traditional
|
||||
text file format distributed with Doom wads. It contains information
|
||||
about the authors, the contents of the WAD, the requirements for
|
||||
running it, and permissions for use.
|
||||
Freedoom embeds one in each of its IWADs to ensure that the information
|
||||
reaches all players.
|
||||
|
||||
The Makefile in this directory splits the wadinfo into three parts
|
||||
for each IWAD to match their description and technical details.
|
Loading…
Add table
Add a link
Reference in a new issue