File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1581,17 +1581,17 @@ generated_assembly: generate_assembly
1581
1581
.PHONY : tags
1582
1582
tags :
1583
1583
rm -f $(shell pwd) /$(TAGS_FILE )
1584
- @$(ECHO ) " Generating tags for source files: "
1585
- $(CTAGS_CMD ) $(TAGS_FILE ) $( shell find "`pwd`" -name " * .cpp" -o -name " * .h" -o -name " * .c")
1586
- @ $( ECHO ) " Generating tags for IDO an PDE files as C++: "
1587
- $( CTAGS_CMD ) $( TAGS_FILE ) --langmap=c++:.ino --langmap=c++:.pde $( shell find "`pwd`" -name " * .ino" -o -name " * .pde")
1588
- @ $( ECHO ) " Generating tags for project libraries: "
1589
- $( CTAGS_CMD ) $( TAGS_FILE ) $( foreach lib, $( ARDUINO_LIBS ) , $( USER_LIB_PATH ) / $( lib ) / * )
1584
+ @$(ECHO ) " Generating tags for local sources (IDO an PDE files as C++) : "
1585
+ $(CTAGS_CMD ) $(TAGS_FILE ) --langmap=c++:.ino --langmap=c++:.pde $( LOCAL_SRCS )
1586
+ ifneq ( $( words $( ARDUINO_LIBS ) ) , 0)
1587
+ @$(ECHO) "Generating tags for project libraries: "
1588
+ $(CTAGS_CMD) $(TAGS_FILE) $(foreach lib, $(ARDUINO_LIBS),$(USER_LIB_PATH)/$(lib)/*)
1589
+ endif
1590
1590
@$(ECHO) "Generating tags for Arduino core: "
1591
1591
$(CTAGS_CMD) $(TAGS_FILE) $(ARDUINO_CORE_PATH)/*
1592
1592
@$(ECHO) "Sorting..\n"
1593
1593
@sort $(TAGS_FILE) -o $(TAGS_FILE)
1594
- @$(ECHO ) " Tag file generation complete, output: $( TAGS_FILE) "
1594
+ @$(ECHO) "Tag file generation complete, output: $(TAGS_FILE)\n "
1595
1595
1596
1596
help_vars :
1597
1597
@$(CAT ) $(ARDMK_DIR ) /arduino-mk-vars.md
You can’t perform that action at this time.
0 commit comments