diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2022-10-08 19:56:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 19:56:26 -0500 |
commit | 33dec21cf1cb0ebd340e8d42253611540ca29b7c (patch) | |
tree | 4287af792b4409954e6bfc088b017b5a660ab02f /rules.mk | |
parent | e6784339e01ef38b0bc0c612670083b4f34a0218 (diff) | |
parent | 10d416698662c8490b3d8406f9f890081111ace5 (diff) | |
download | Sensor-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 'rules.mk')
-rw-r--r-- | rules.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)) |