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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user