From: Michael Stapelberg Date: Sun, 9 Oct 2011 12:05:29 +0000 (+0100) Subject: Bugfix: make i3bar depend on libi3 X-Git-Tag: 4.1~113^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d78a2444e5fc702932dfc00ba0992679a6bcac16;p=i3%2Fi3 Bugfix: make i3bar depend on libi3 --- diff --git a/i3bar/Makefile b/i3bar/Makefile index 643065df..a0c472bf 100644 --- a/i3bar/Makefile +++ b/i3bar/Makefile @@ -10,9 +10,12 @@ CPPFLAGS += -I$(TOPDIR)/include all: i3bar doc -i3bar: ${FILES} +i3bar: libi3/libi3.a ${FILES} echo "LINK" - $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + $(CC) $(LDFLAGS) -o $@ $(filter-out libi3/libi3.a,$^) $(LIBS) + +libi3/%.a: + $(MAKE) -C $(TOPDIR)/libi3 doc: echo ""