summaryrefslogtreecommitdiffstats
path: root/make.mk
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2022-10-08 19:56:26 -0500
committerGitHub <noreply@github.com>2022-10-08 19:56:26 -0500
commit33dec21cf1cb0ebd340e8d42253611540ca29b7c (patch)
tree4287af792b4409954e6bfc088b017b5a660ab02f /make.mk
parente6784339e01ef38b0bc0c612670083b4f34a0218 (diff)
parent10d416698662c8490b3d8406f9f890081111ace5 (diff)
downloadSensor-Watch-33dec21cf1cb0ebd340e8d42253611540ca29b7c.tar.gz
Sensor-Watch-33dec21cf1cb0ebd340e8d42253611540ca29b7c.tar.bz2
Sensor-Watch-33dec21cf1cb0ebd340e8d42253611540ca29b7c.zip
Merge pull request #86 from michaelgruenewald/patch-1
Fix changed files detection in Make
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) \