added tags file generation

This commit is contained in:
Markus Fröschle
2013-11-06 14:29:13 +00:00
parent 0575d5c28d
commit 751072247e

View File

@@ -113,7 +113,8 @@ bfl: $(patsubst %,%/$(BASFLASH_EXEC),$(TRGTDIRS))
lib: $(LIBS) lib: $(LIBS)
.PHONY clean: .PHONY: clean
clean:
for d in $(TRGTDIRS);\ for d in $(TRGTDIRS);\
do rm -f $$d/*.map $$d/*.s19 $$d/*.elf $$d/*.lk $$d/objs/* ;\ do rm -f $$d/*.map $$d/*.s19 $$d/*.elf $$d/*.lk $$d/objs/* ;\
done done
@@ -203,7 +204,8 @@ depend: $(ASRCS) $(CSRCS)
do $(CC) $(CFLAGS) $(INCLUDE) -M $(ASRCS) $(CSRCS) | sed -e "s#^\(.*\).o:#$$d/objs/\1.o:#" >> depend; \ do $(CC) $(CFLAGS) $(INCLUDE) -M $(ASRCS) $(CSRCS) | sed -e "s#^\(.*\).o:#$$d/objs/\1.o:#" >> depend; \
done done
tags: $(ASRCS) $(CSRCS) include/* .PHONY: tags
tags:
ctags -R sources include ctags -R sources include
ifneq (clean,$(MAKECMDGOALS)) ifneq (clean,$(MAKECMDGOALS))