i3bar: makefile: prefix messages with [i3bar]

This commit is contained in:
Michael Stapelberg 2011-10-21 19:03:54 +01:00
parent bc679b0168
commit 0298a32e37

View File

@ -11,7 +11,7 @@ CPPFLAGS += -I$(TOPDIR)/include
all: i3bar doc
i3bar: libi3/libi3.a ${FILES}
echo "LINK"
echo "[i3bar] LINK"
$(CC) $(LDFLAGS) -o $@ $(filter-out libi3/libi3.a,$^) $(LIBS)
libi3/%.a:
@ -19,15 +19,15 @@ libi3/%.a:
doc:
echo ""
echo "SUBDIR doc"
echo "[i3bar] SUBDIR doc"
$(MAKE) -C doc
src/%.o: src/%.c ${HEADERS}
echo "CC $<"
echo "[i3bar] CC $<"
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
install: all
echo "INSTALL"
echo "[i3bar] INSTALL"
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
$(INSTALL) -m 0755 i3bar $(DESTDIR)$(PREFIX)/bin