Skip to content

Commit

Permalink
ptest/Makefile: added "silent" copy operation
Browse files Browse the repository at this point in the history
  • Loading branch information
wpwrak committed Jan 13, 2012
1 parent bed7bf7 commit e90101d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/compiler/ptest/Makefile
Expand Up @@ -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 -----------------------------------------------------------------
Expand Down Expand Up @@ -52,7 +56,7 @@ ptest: $(OBJS)

libfpvm.a:
$(MAKE) -C $(LIBFPVM_X86)
cp $(LIBFPVM_X86)/$@ .
$(CP) $(LIBFPVM_X86)/$@ .

# ----- Dependencies ----------------------------------------------------------

Expand Down

0 comments on commit e90101d

Please sign in to comment.