diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-01-08 10:15:39 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-01-08 10:30:06 -0800 |
commit | 4646801181a6e12e36352fa874089ffeb9474eb3 (patch) | |
tree | 281a79ff8253b18f2f6fa3c40e18beb9ba65aab2 /unix-cpy | |
parent | 6c73ca1e754aa5fb822999a0b46f01e216619ec6 (diff) | |
download | micropython-4646801181a6e12e36352fa874089ffeb9474eb3.tar.gz micropython-4646801181a6e12e36352fa874089ffeb9474eb3.zip |
Make build output quieter.
Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This should fix issue #117
Diffstat (limited to 'unix-cpy')
-rw-r--r-- | unix-cpy/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index d2d698713e..90e1f733d5 100644 --- a/unix-cpy/Makefile +++ b/unix-cpy/Makefile @@ -7,6 +7,7 @@ include ../py/py.mk # program for deletion RM = /bin/rm +ECHO = @echo # compiler settings CC = gcc @@ -21,12 +22,14 @@ OBJ = $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) $(PY_O) LIB = $(PROG): $(BUILD) $(OBJ) - $(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS) - strip $(PROG) - size $(PROG) + $(ECHO) "LINK $<" + $(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS) + $(Q)strip $(PROG) + $(Q)size $(PROG) $(BUILD)/%.o: %.c - $(CC) $(CFLAGS) -c -o $@ $< + $(ECHO) "CC $<" + $(Q)$(CC) $(CFLAGS) -c -o $@ $< $(BUILD)/main.o: mpconfigport.h |