From: Oliver Schmidt
Date: Tue, 21 May 2013 19:46:03 +0000 (+0200)
Subject: Made lib build less verbose if run as Travis CI build.
X-Git-Tag: V2.15~286
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3cc3b39c893f0d58d139f5159c8babcc13ab6031;p=cc65
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.
---
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