]> git.earman.xyz Git - sensor-watch.git/commitdiff
Enable dependency files for the emscripten build
authorMichael Gruenewald <mail@michaelgruenewald.eu>
Fri, 7 Oct 2022 23:19:42 +0000 (01:19 +0200)
committerMichael Gruenewald <mail@michaelgruenewald.eu>
Sat, 8 Oct 2022 11:52:00 +0000 (13:52 +0200)
make.mk

diff --git a/make.mk b/make.mk
index 0792e64faed83f0d5b38fc394e856b86ab869625..254016428b8bf3f7f0ebe197c0b576783c7e9821 100644 (file)
--- 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) \