Skip to content

Commit

Permalink
Revert "Update makefiles/tools/compile_commands.inc.mk"
Browse files Browse the repository at this point in the history
This reverts commit 3571516.
  • Loading branch information
maribu committed Mar 3, 2021
1 parent 3571516 commit 4537be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/tools/compile_commands.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ifeq (,$(SRCXX))
COMPILE_COMMANDS += $(call ADD_SEPERATOR,$(lastword $(SRC_C_ALL)),)
else
EXT := $(SRCXXEXT)
COMPILE_COMMANDS := $(foreach src,$(SRC_CXX_ALL),$(call ADD_SEPERATOR,$(src),$(COMMA)))
COMPILE_COMMANDS := $(foreach src,$(SRC_C_ALL),$(call ADD_SEPERATOR,$(src),$(COMMA)))
SRC_CXX_EXCEPT_LAST := $(filter-out $(lastword $(SRC_CXX_ALL)),$(SRC_CXX_ALL))
ifneq (,$(SRC_CXX_EXCEPT_LAST))
COMPILE_COMMANDS += $(foreach src,$(SRC_CXX_EXCEPT_LAST),$(call ADD_SEPERATOR,$(src),$(COMMA)))
Expand Down

0 comments on commit 4537be4

Please sign in to comment.