From: antirez Date: Tue, 3 May 2011 21:32:37 +0000 (+0200) Subject: initial pretty printing in makefile X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/0d8f1ac359e2c4d87a1417a9b8bc6bc7a093d1ac initial pretty printing in makefile --- diff --git a/src/Makefile b/src/Makefile index a566d4ea..fe485bd6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -138,7 +138,8 @@ redis-check-aof: $(CHECKAOFOBJ) $(CC) -o $(CHECKAOFPRGNAME) $(CCOPT) $(DEBUG) $(CHECKAOFOBJ) .c.o: - $(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $< + @$(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $< + @echo "\033[34mCC\033[0m \033[33m$<\033[0m" clean: rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) $(CHECKDUMPPRGNAME) $(CHECKAOFPRGNAME) *.o *.gcda *.gcno *.gcov