From 5e38c071cbef516f72d9c5feab2e3d4b7602edea Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Aug 2002 10:04:53 +0000 Subject: [PATCH] added tags target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1754 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 215fe66a28..cbb8aa9886 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -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' +