Makefile: add TAGS target.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2015-06-04 15:46:39 +09:30
parent abac31072e
commit 623c6562af

View file

@ -23,6 +23,10 @@ LDLIBS := -lcrypto -lprotobuf-c
default: $(PROGRAMS)
TAGS: FORCE
etags *.[ch]
FORCE::
lightning.pb-c.c lightning.pb-c.h: lightning.proto
$(PROTOCC) lightning.proto --c_out=.