diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-08-15 09:30:41 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-15 09:30:41 +0000 |
| commit | 15c401ec48c2b9a203eefec9b8ef2eee3745fc7c (patch) | |
| tree | 84c3090dfe6af2f826159e67c4a1955e0953a124 /firmware | |
| parent | b3a3885a0e286ca4f10d909c68134842b016888a (diff) | |
| download | rockbox-15c401ec48c2b9a203eefec9b8ef2eee3745fc7c.zip rockbox-15c401ec48c2b9a203eefec9b8ef2eee3745fc7c.tar.gz rockbox-15c401ec48c2b9a203eefec9b8ef2eee3745fc7c.tar.bz2 rockbox-15c401ec48c2b9a203eefec9b8ef2eee3745fc7c.tar.xz | |
tags target added for emacs-etags power
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index f3de26b..01242ff 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -39,6 +39,8 @@ OBJS := $(SRC:%.c=$(OBJDIR)/%.o) $(OBJDIR)/crt0.o DEPS:=.deps DEPDIRS:=$(DEPS) $(DEPS)/drivers $(DEPS)/common $(DEPS)/malloc +DIRS = $(subst $(DEPS),".",$(DEPDIRS)) + OUTPUT = $(OBJDIR)/librockbox.a ifdef LOADABLE_FONTS @@ -59,6 +61,9 @@ $(OBJDIR)/%.o: %.S $(OBJDIR)/system.ajf: ../tools/bdf2ajf $(SYSTEM_FONT) ../tools/bdf2ajf -f $(SYSTEM_FONT) -o $(OBJDIR)/system.ajf +tags: + @$(SHELL) -c 'for d in $(DIRS); do { etags -o $(OBJDIR)/TAGS -a $$d/*.[ch]; }; done' + clean: rm -f $(OBJS) $(OUTPUT) rm -rf $(OBJDIR)/$(DEPS) |