From 3cc3b39c893f0d58d139f5159c8babcc13ab6031 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Tue, 21 May 2013 21:46:03 +0200
Subject: [PATCH] Made lib build less verbose if run as Travis CI build.
Travis CI limits the real time build output to 10000 lines. We need to be less verbose in the lib build to stay below that threshold.
---
libsrc/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libsrc/Makefile b/libsrc/Makefile
index 1c5547cd0..a91cc73f4 100644
--- a/libsrc/Makefile
+++ b/libsrc/Makefile
@@ -205,7 +205,7 @@ LD := $(if $(wildcard ../bin/ld65*),../bin/ld65,ld65)
define ASSEMBLE_recipe
-@echo $(TARGET) - $<
+$(if $(TRAVIS),,@echo $(TARGET) - $<)
@$(CA) -t $(TARGET) $(AFLAGS) --create-dep $(@:.o=.d) -o $@ $<
endef
@@ -214,7 +214,7 @@ endef
define COMPILE_recipe
-@echo $(TARGET) - $<
+$(if $(TRAVIS),,@echo $(TARGET) - $<)
@$(CC) -t $(TARGET) $(CFLAGS) --create-dep $(@:.o=.d) --dep-target $@ -o $(@:.o=.s) $<
@$(CA) -t $(TARGET) -o $@ $(@:.o=.s)
@@ -229,7 +229,7 @@ endef
$(COMPILE_recipe)
$(EXTRA_OBJPAT): $(EXTRA_SRCPAT) | ../lib
- @echo $(TARGET) - $<
+ @echo $(TARGET) - $(@F)
@$(CA) -t $(TARGET) $(AFLAGS) -o $@ $<
../lib/$(TARGET).lib: $(OBJS) | ../lib
--
2.39.5