From b6a484ff4a1efe0ad6a3456d0cd8d59ee5aef03a Mon Sep 17 00:00:00 2001 From: Tom St Denis Date: Wed, 28 Oct 2015 08:59:29 -0400 Subject: [PATCH] Make the build output cleaner so diagnostics are easier to spot Signed-off-by: Tom St Denis --- makefile | 4 ++++ makefile.include | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 1a485c8..75a2bfe 100644 --- a/makefile +++ b/makefile @@ -2,6 +2,10 @@ # #Tom St Denis +%.o: %.c + @echo " * ${CC} $@" + @${CC} -c ${CFLAGS} $^ -o $@ + #version of library VERSION=0.42.0 diff --git a/makefile.include b/makefile.include index edb39c5..143a1ce 100644 --- a/makefile.include +++ b/makefile.include @@ -18,7 +18,7 @@ ifndef MAKE MAKE=make endif -CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow +CFLAGS += -I./ -W -Wall -Wsign-compare -Wextra -Wshadow ifndef NO_ADDTL_WARNINGS # additional warnings