Makefile: Make sure all built files are removed in make clean.

This commit is contained in:
Mike Swanson 2017-02-19 12:22:57 -08:00
parent a0e65f7fed
commit c6235d6ffc
6 changed files with 14 additions and 10 deletions

View file

@ -171,8 +171,10 @@ wivctms.gif:
cp $@ ../
clean:
rm -f $(TEXTGEN_GRAPHICS) helpbg.png help.gif \
helptext.png helptext2.png graphics.stamp *.pyc \
credtext.png credtext2.png credit.gif \
dmwilv*.gif wikilrs.gif wivctms.gif wikilrs_horiz.png
rm -f $(TEXTGEN_GRAPHICS) helpbg.png help.gif helptext.png \
helptext2.png graphics.stamp *.pyc credtext.png \
credtext2.png credit.gif dmwilv*.gif wikilrs.gif \
wivctms.gif wikilrs_horiz.png ../credit.gif ../help.gif \
../wikilrs.gif ../wivctms.gif
for graphic in $(TEXTGEN_GRAPHICS); do rm -f ../$$graphic; done
rm -fr __pycache__

View file

@ -19,6 +19,7 @@ fdmtitle.gif: ../captainw/fdmtitle.gif
cp $@ ../
clean:
rm -f m_dm.gif m_doom.gif fd1title.gif fd2title.gif fdmtitle.gif
rm -f m_dm.gif m_doom.gif fd1title.gif fd2title.gif fdmtitle.gif \
../fd1title.gif ../fd2title.gif ../fdmtitle.gif
.PHONY: clean

View file

@ -3,5 +3,5 @@ ultramid.ini : gen-ultramid config.py stats.py
cp $@ ../dmxgus.lmp
clean:
rm -f ultramid.ini *.pyc
rm -f ultramid.ini ../dmxgus.lmp *.pyc
rm -fr __pycache__

View file

@ -3,5 +3,5 @@ genmidi.lmp: config.py instruments/*
cp $@ ../
clean:
rm -f genmidi.lmp *.pyc
rm -f genmidi.lmp ../genmidi.lmp *.pyc
rm -fr __pycache__

View file

@ -3,7 +3,6 @@ playpal.lmp: playpal-base.lmp playpal.py
cp playpal.lmp ../
clean:
rm -f playpal.lmp
rm -f playpal.lmp ../playpal.lmp
.PHONY: clean

View file

@ -42,4 +42,6 @@ clean:
phase1/texture2.lmp \
phase1/pnames.lmp phase2/pnames.lmp freedm/pnames.lmp \
phase1/pnames.txt phase2/pnames.txt freedm/pnames.txt
rm -f ../fd1txtr1.lmp ../fd1txtr2.lmp ../fd1pname.lmp \
../fd2txtr1.lmp ../fd2pname.lmp \
../fdmtxtr1.lmp ../fdmpname.lmp