summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7c2bec8..447954b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,11 @@ OBJ = $(SRC:%.c=$(OBJDIR)/%.o)
 CFLAGS += -Wall -Wextra -std=c99 -g -pedantic
 
 $(OBJDIR)/$(BIN): $(OBJ) $(OBJDIR)/timestamp
-	@echo "ld $@"
+	@test -z "$(V)" || echo "ld $@"
 	$(V)$(CC) $(LDFLAGS) $(OBJ) -o $@
 
 $(OBJDIR)/%.o: %.c $(OBJDIR)/timestamp
-	@echo "cc $<"
+	@test -z "$(V)" || echo "cc $<"
 	$(V)$(CC) $(CFLAGS) -c $< -o $@
 
 $(OBJDIR)/timestamp: