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
15811581.PHONY : tags
15821582tags :
15831583 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
15901590 @$(ECHO) "Generating tags for Arduino core: "
15911591 $(CTAGS_CMD) $(TAGS_FILE) $(ARDUINO_CORE_PATH)/*
15921592 @$(ECHO) "Sorting..\n"
15931593 @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 "
15951595
15961596help_vars :
15971597 @$(CAT ) $(ARDMK_DIR ) /arduino-mk-vars.md
You can’t perform that action at this time.
0 commit comments