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:
parent
1bc4391921
commit
a8b6b59b62
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue