Added 'make tags' to make etags TAGS file

This commit is contained in:
2012-11-07 00:20:07 -05:00
parent d05702f48d
commit 0fc8b25714

View File

@@ -1,13 +1,20 @@
SOURCE=nesgame.S \
include/defines.S \
include/math.S \
include/graphics.S
MAIN_SOURCE=nesgame.S
all: nesgame.nes
nesgame.nes : nesgame.S
ophis -o $@ $<
nesgame.nes : $(SOURCE)
ophis -o $(MAIN_SOURCE) $<
.PHONY: test
test:
test: nesgame.nes
fceux nesgame.nes
.PHONY: clean
clean:
rm *nes
rm *nes.deb
rm *fns
tags: $(SOURCE)
find . -name "*S" | xargs etags -a