aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-01 17:45:17 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-06 06:01:51 +0100
commitb6c04d581e6ebd54782da5c522b5f6e412d1e4fe (patch)
tree652af5be7016440c99b29f51bef09203e4774ad5 /Makefile
parent3ff507b6e9e6ed43aeca959a46f6ba24507c1d2e (diff)
downloadsparse-dev-b6c04d581e6ebd54782da5c522b5f6e412d1e4fe.tar.gz
build: fix effectiveness of generated dependencies
Commit fb8734e3f "Makefile: clean up and simplify" added blindly $(LIB_H) as dependency to all .o targets. This completely defeat the purpose of generated dependencies. Fix this by removing this unneeded dependency. Fixes: fb8734e3fa18619277f54f131a9b898ce7171645 Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f1af83e3..bc446941 100644
--- a/Makefile
+++ b/Makefile
@@ -208,7 +208,7 @@ c2xml.o c2xml.sc: CFLAGS += $(LIBXML_CFLAGS)
pre-process.sc: CHECKER_FLAGS += -Wno-vla
-%.o: %.c $(LIB_H)
+%.o: %.c
$(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
%.sc: %.c sparse