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
1 changed files with 4 additions and 4 deletions

View File

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