From: Michael Stapelberg Date: Sun, 23 Oct 2011 12:16:39 +0000 (+0100) Subject: makefile: correctly depend on libi3/*.c to recompile libi3 when necessary X-Git-Tag: 4.1~78 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14abafb3c85c90cf34c09ead7d1d4c12155cd84b;p=i3%2Fi3 makefile: correctly depend on libi3/*.c to recompile libi3 when necessary --- 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: