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

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