forked from ibphoenix/tomsfastmath
add silent compilation as in ltc and ltm
This commit is contained in:
parent
6ae4762482
commit
02c712c437
12
makefile
12
makefile
@ -21,6 +21,18 @@ ifndef MAKE
|
|||||||
MAKE=make
|
MAKE=make
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($V,1)
|
||||||
|
silent=
|
||||||
|
else
|
||||||
|
silent=@
|
||||||
|
endif
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
ifneq ($V,1)
|
||||||
|
@echo " * ${CC} $@"
|
||||||
|
endif
|
||||||
|
${silent} ${CC} ${CFLAGS} -c $< -o $@
|
||||||
|
|
||||||
ifndef IGNORE_SPEED
|
ifndef IGNORE_SPEED
|
||||||
|
|
||||||
CFLAGS += -O3 -funroll-loops
|
CFLAGS += -O3 -funroll-loops
|
||||||
|
Loading…
Reference in New Issue
Block a user