diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-10-08 19:57:02 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-10-08 19:57:02 -0500 |
commit | 1c89317c126a230a062e2e998f38fdfbe687f234 (patch) | |
tree | 4ea95625085bdb7a0543554ce53e7e45fd1a4587 | |
parent | a92238b159be62f9ef9f58f617e6f91189efc121 (diff) | |
parent | 33dec21cf1cb0ebd340e8d42253611540ca29b7c (diff) | |
download | Sensor-Watch-sensor-face-improvements.tar.gz Sensor-Watch-sensor-face-improvements.tar.bz2 Sensor-Watch-sensor-face-improvements.zip |
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into sensor-face-improvementssensor-face-improvements
-rw-r--r-- | make.mk | 1 | ||||
-rw-r--r-- | rules.mk | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -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) \ @@ -1,3 +1,5 @@ +.SUFFIXES: + CFLAGS += $(INCLUDES) $(DEFINES) OBJS = $(addprefix $(BUILD)/, $(notdir %/$(subst .c,.o, $(SRCS)))) @@ -60,6 +62,6 @@ clean: analyze: @$(COBRA) basic $(INCLUDES) $(DEFINES) $(SRCS) -DEPFILES := $(SRCS:%.c=$(BUILD)/%.d) +DEPFILES := $(OBJS:%.o=%.o.d) -include $(wildcard $(DEPFILES)) |