mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user