diff --git a/makefile b/makefile index 3b3197d..8550650 100644 --- a/makefile +++ b/makefile @@ -21,6 +21,18 @@ ifndef MAKE MAKE=make endif +ifeq ($V,1) +silent= +else +silent=@ +endif + +%.o: %.c +ifneq ($V,1) + @echo " * ${CC} $@" +endif + ${silent} ${CC} ${CFLAGS} -c $< -o $@ + ifndef IGNORE_SPEED CFLAGS += -O3 -funroll-loops