[dev] generate etags

This commit is contained in:
Milo Turner 2020-02-22 16:30:06 -05:00
parent 6dd051e2ec
commit 46a3e4552a
2 changed files with 8 additions and 4 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@
**/compiled
_build
.dir-locals.el
ax*
ax*
TAGS

View File

@ -17,10 +17,10 @@ hdrs = $(wildcard **/*.h)
test_bin = axtest
all: ${test_bin}
all: TAGS ${test_bin}
clean:
rm -rf ${test_bin} _build
rm -rf ${test_bin} _build TAGS
gen:
mkdir -p _build
@ -29,4 +29,7 @@ gen:
${test_bin}: ${srcs} ${hdrs}
${cc} ${cflags} ${srcs} ${sdl_ldflags} -o ${test_bin}
.PHONY: all clean gen
TAGS:
etags ${srcs}
.PHONY: all clean gen TAGS