Makefile: declare targets that don't create files .PHONY

.. see GNU make for more information about this extension, which
prevents unwanted behavior if a file with a name like 'clean' or 'all'
is created accidentally
This commit is contained in:
Jeff Epler 2017-07-13 13:34:59 -05:00
parent 1bc4391921
commit a8b6b59b62

View file

@ -1,3 +1,4 @@
.PHONY: all
all:
ca65 80columns.s
ca65 -o charset.o charset.s
@ -6,5 +7,6 @@ all:
cat 80columns.bin >> 80columns.prg
exomizer sfx 51200 -q -n -o 80columns-compressed.prg 80columns.prg
.PHONY: clean
clean:
rm -f *.prg *.bin *.o