added tags file generation
This commit is contained in:
6
Makefile
6
Makefile
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user