From 14abafb3c85c90cf34c09ead7d1d4c12155cd84b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 23 Oct 2011 13:16:39 +0100 Subject: [PATCH] makefile: correctly depend on libi3/*.c to recompile libi3 when necessary --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e82ebc3..c0797839 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ i3: libi3/libi3.a src/cfgparse.y.o src/cfgparse.yy.o src/cmdparse.y.o src/cmdpar echo "[i3] LINK i3" $(CC) $(LDFLAGS) -o $@ $(filter-out libi3/libi3.a,$^) $(LIBS) -libi3/%.a: +libi3/%.a: libi3/*.c $(MAKE) -C libi3 subdirs: -- 2.39.5