i3bar: makefile: correctly depend on libi3

This commit is contained in:
Michael Stapelberg 2011-10-23 12:10:20 +01:00
parent 620b192e90
commit 41551178a8

View File

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