Added 'make tags' to make etags TAGS file
This commit is contained in:
17
Makefile
17
Makefile
@@ -1,13 +1,20 @@
|
|||||||
|
SOURCE=nesgame.S \
|
||||||
|
include/defines.S \
|
||||||
|
include/math.S \
|
||||||
|
include/graphics.S
|
||||||
|
MAIN_SOURCE=nesgame.S
|
||||||
|
|
||||||
all: nesgame.nes
|
all: nesgame.nes
|
||||||
nesgame.nes : nesgame.S
|
nesgame.nes : $(SOURCE)
|
||||||
ophis -o $@ $<
|
ophis -o $(MAIN_SOURCE) $<
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test: nesgame.nes
|
||||||
fceux nesgame.nes
|
fceux nesgame.nes
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm *nes
|
rm *nes
|
||||||
rm *nes.deb
|
|
||||||
rm *fns
|
tags: $(SOURCE)
|
||||||
|
find . -name "*S" | xargs etags -a
|
||||||
|
|||||||
Reference in New Issue
Block a user