Skip to content

Commit

Permalink
Makefile: ensure "make lib" sees changes to wiggle.h
Browse files Browse the repository at this point in the history
I don't know why the "::" are here, but they don't seem to be needed.

Signed-off-by: NeilBrown <[email protected]>
  • Loading branch information
neilbrown committed Jul 21, 2023
1 parent f8826f5 commit fb0c532
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@ $<

Expand Down

0 comments on commit fb0c532

Please sign in to comment.