summaryrefslogtreecommitdiffstats
path: root/make.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make.mk')
-rw-r--r--make.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.mk b/make.mk
index 0792e64f..25401642 100644
--- a/make.mk
+++ b/make.mk
@@ -159,6 +159,7 @@ else
CFLAGS += -W -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations
CFLAGS += -Wno-format -Wno-unused-parameter
+CFLAGS += -MD -MP -MT $(BUILD)/$(*F).o -MF $(BUILD)/$(@F).d
INCLUDES += \
-I$(TOP)/boards/$(BOARD) \