mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 06:54:49 +08:00
[build system] also include deps for cpp files
This commit is contained in:
@@ -105,5 +105,6 @@ $(OBJDIR)/%.o: %.cpp $(OBJDIR)/../Makefile.ac
|
||||
#
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
DEPS = $(addprefix $(OBJDIR)/,$($(TARGET).srcs:.c=.d))
|
||||
DEPS += $(addprefix $(OBJDIR)/,$($(TARGET).srcs:.cpp=.d))
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user