From: Michael Gruenewald Date: Fri, 7 Oct 2022 23:19:42 +0000 (+0200) Subject: Enable dependency files for the emscripten build X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=1138d4d80c64903f8c9d0a9c893dbcf04e3f8236;p=sensor-watch.git Enable dependency files for the emscripten build --- diff --git a/make.mk b/make.mk index 0792e64..2540164 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) \