From d78a2444e5fc702932dfc00ba0992679a6bcac16 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 9 Oct 2011 13:05:29 +0100 Subject: [PATCH] Bugfix: make i3bar depend on libi3 --- i3bar/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 "" -- 2.39.5