added tags target

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1754 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-15 10:04:53 +00:00
parent bc35ae3f50
commit 5e38c071cb

View file

@ -49,6 +49,7 @@ LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl
# Use this for simulator-only files
INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(RECDIR)
SRCDIRS = . $(DRIVERS) $(COMMON) $(FIRMWAREDIR) $(APPDIR) $(RECDIR)
# The true Rockbox Applications should use this include path:
APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
@ -279,3 +280,7 @@ $(DEPS)/%.d: %.c
[ -s $@ ] || rm -f $@'
-include $(SRCS:%.c=$(DEPS)/%.d)
tags:
@$(SHELL) -c 'for d in $(SRCDIRS); do { etags -o $(OBJDIR)/TAGS -a $$d/*.[ch]; }; done'