From edbb17d2c8fd171983a3b94380a4be87a82a1fa9 Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Tue, 20 Nov 2012 22:08:07 +0200 Subject: [PATCH] Makefile: Fix typo in object list The ONEWIRE_PARSER_OBJS was written incorrectly. This causes ALL_OBJS list to miss the parser object, which in turn causes the dependency file to be missing from the ALL_DEBS list. That was causing make to not detect that onewire_parser.c depends on version.h, and not rebuild the library when version.h was changed. Signed-off-by: Timo Kokkonen --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36e60d5..871bcd6 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ RRDD_OBJS= main.o process.o rrdtool.o parser.o built_in_parsers.o string.o \ ONEWIRE_PARSER_OBJS = onewire_parser.o -ALL_OBJS = $(RRDD_OBJS) $(ONEWIRE_PLUGIN_OBJS) +ALL_OBJS = $(RRDD_OBJS) $(ONEWIRE_PARSER_OBJS) ALL_DEBS = $(patsubst %.o,.%.o.d,$(ALL_OBJS)) ifeq ($(V),1) -- 2.45.0