From: NeilBrown Date: Fri, 21 Jul 2023 06:19:02 +0000 (+1000) Subject: Makefile: ensure "make lib" sees changes to wiggle.h X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=fb0c532563b04b43ed31f0c63b964f8b442a4999;p=wiggle.git Makefile: ensure "make lib" sees changes to wiggle.h I don't know why the "::" are here, but they don't seem to be needed. Signed-off-by: NeilBrown --- diff --git a/Makefile b/Makefile index 6942775..a88f57a 100644 --- a/Makefile +++ b/Makefile @@ -51,11 +51,11 @@ $(BIN)/wiggle : $(BOBJ) $(O)/libwiggle.a $(O)/libwiggle.a : $(BLIBOBJ) $(QUIET_AR)ar cr $@ $^ -$(BOBJ) :: wiggle.h +$(BOBJ) $(BLIBOBJ) : wiggle.h -$(O)/split.o :: ccan/hash/hash.h config.h +$(O)/split.o : ccan/hash/hash.h config.h -$(BOBJ) $(BLIBOBJ) :: $(O)/%.o : %.c +$(BOBJ) $(BLIBOBJ) : $(O)/%.o : %.c @mkdir -p $(dir $@) $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<