]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: makefile: correctly depend on libi3
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Oct 2011 11:10:20 +0000 (12:10 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 23 Oct 2011 11:10:20 +0000 (12:10 +0100)
i3bar/Makefile

index 753ee4d691e69effdc0e70d030b12cbbe75029d1..adf3b859443867c3e51df9883fa967a84bab75b5 100644 (file)
@@ -14,7 +14,7 @@ i3bar: $(TOPDIR)/libi3/libi3.a ${FILES}
        echo "[i3bar] LINK"
        $(CC) $(LDFLAGS) -o $@ $(filter-out libi3/libi3.a,$^) $(LIBS)
 
-libi3/%.a:
+$(TOPDIR)/libi3/%.a:
        $(MAKE) -C $(TOPDIR)/libi3
 
 doc: