Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

libfpvm/x86-linux/Makefile: support silent builds as well

  • Loading branch information...
commit 9f8e94702f6ec5c26b6405a9a238e7cfcddff472 1 parent 3e056a9
@wpwrak wpwrak authored
Showing with 18 additions and 3 deletions.
  1. +18 −3 software/libfpvm/x86-linux/Makefile
View
21 software/libfpvm/x86-linux/Makefile
@@ -1,9 +1,24 @@
MMDIR?=../../../
-CC=clang
+CC_normal = clang
+AR_normal = ar
+RANLIB_normal = ranlib
+
+CC_quiet = @echo " CC " $@ && $(CC_normal)
+AR_quiet = @echo " AR " $@ && $(AR_normal)
+RANLIB_quiet = @echo " RANLIB " $@ && $(RANLIB_normal)
+
+ifeq ($(V),1)
+ CC = $(CC_normal)
+ AR = $(AR_normal)
+ RANLIB = $(RANLIB_normal)
+else
+ CC = $(CC_quiet)
+ AR = $(AR_quiet)
+ RANLIB = $(RANLIB_quiet)
+endif
+
CFLAGS=-O2 -DPRINTF_FLOAT -I$(MMDIR)/software/include
-AR=ar
-RANLIB=ranlib
include ../subdir.mak
Please sign in to comment.
Something went wrong with that request. Please try again.