makefile: correctly depend on libi3/*.c to recompile libi3 when necessary

This commit is contained in:
Michael Stapelberg 2011-10-23 13:16:39 +01:00
parent 886aabe826
commit 14abafb3c8
1 changed files with 1 additions and 1 deletions

View File

@ -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: