Browse files

ptest/Makefile: added "silent" copy operation

  • Loading branch information...
1 parent bed7bf7 commit e90101df26f2137a21cfbb1bbd9e95af5ab6c0fd @wpwrak wpwrak committed Jan 12, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/compiler/ptest/Makefile
View
6 src/compiler/ptest/Makefile
@@ -11,16 +11,20 @@ LDLIBS = -lm
# ----- Verbosity control -----------------------------------------------------
CC_normal := $(CC)
+CP_normal := cp
CC_quiet = @echo " CC " $@ && $(CC_normal)
GEN_quiet = @echo " GENERATE " $@ &&
+CP_quiet = @echo " CP " $@ && $(CP_normal)
ifeq ($(V),1)
CC = $(CC_normal)
GEN =
+ CP = $(CP_normal)
else
CC = $(CC_quiet)
GEN = $(GEN_quiet)
+ CP = $(CP_quiet)
endif
# ----- Rules -----------------------------------------------------------------
@@ -52,7 +56,7 @@ ptest: $(OBJS)
libfpvm.a:
$(MAKE) -C $(LIBFPVM_X86)
- cp $(LIBFPVM_X86)/$@ .
+ $(CP) $(LIBFPVM_X86)/$@ .
# ----- Dependencies ----------------------------------------------------------

0 comments on commit e90101d

Please sign in to comment.