[dev] generate etags
This commit is contained in:
parent
6dd051e2ec
commit
46a3e4552a
|
@ -3,3 +3,4 @@
|
|||
_build
|
||||
.dir-locals.el
|
||||
ax*
|
||||
TAGS
|
||||
|
|
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue