add silent compilation as in ltc and ltm

This commit is contained in:
Steffen Jaeckel 2016-04-24 18:38:28 +02:00
parent 6ae4762482
commit 02c712c437

View File

@ -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