Commit b6a484ff4a1efe0ad6a3456d0cd8d59ee5aef03a

Tom St Denis 2015-10-28T08:59:29

Make the build output cleaner so diagnostics are easier to spot Signed-off-by: Tom St Denis <tstdenis82@gmail.com>

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