added tags file generation

This commit is contained in:
Markus Fröschle
2013-11-06 14:29:13 +00:00
parent 37891711fc
commit d36fb61275

View File

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