mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Don't show a list of object/dependency files in the human friendly output of the BUILD module clean command. Use a unique message prefix for assembling vs. compiling.
This commit is contained in:
parent
60a2147a51
commit
4124534144
@ -32,7 +32,7 @@ LUFA_BUILD_OPTIONAL_VARS += BOARD OPTIMIZATION C_STANDARD CPP_STANDARD F_CPU C_
|
||||
# TARGET - Application name
|
||||
# ARCH - Device architecture name
|
||||
# MCU - Microcontroller device model name
|
||||
# SRC - List of input source files (.c, .cpp/.c++, .S)
|
||||
# SRC - List of input source files (*.c, *.cpp, *.S)
|
||||
# F_USB - Speed of the input clock of the USB controller
|
||||
# in Hz
|
||||
# LUFA_PATH - Path to the LUFA library core
|
||||
@ -100,6 +100,7 @@ endif
|
||||
MSG_BUILD_BEGIN := Begin compilation of project \"$(TARGET)\"...
|
||||
MSG_BUILD_END := Finished building project \"$(TARGET)\".
|
||||
MSG_COMPILE_CMD := ' [CC] :'
|
||||
MSG_ASSEMBLE_CMD := ' [AS] :'
|
||||
MSG_REMOVE_CMD := ' [RM] :'
|
||||
MSG_LINKER_CMD := ' [LNK] :'
|
||||
MSG_SIZE_CMD := ' [SIZE] :'
|
||||
@ -181,11 +182,11 @@ size:
|
||||
fi
|
||||
|
||||
clean:
|
||||
@echo $(MSG_REMOVE_CMD) Removing object files \"$(strip $(notdir $(OBJECT_FILES)))\"
|
||||
@echo $(MSG_REMOVE_CMD) Removing object files of \"$(TARGET)\"
|
||||
rm -f $(OBJECT_FILES)
|
||||
@echo $(MSG_REMOVE_CMD) Removing dependency files \"$(strip $(notdir $(DEPENDENCY_FILES)))\"
|
||||
@echo $(MSG_REMOVE_CMD) Removing dependency files of \"$(TARGET)\"
|
||||
rm -f $(DEPENDENCY_FILES)
|
||||
@echo $(MSG_REMOVE_CMD) Removing output files \"$(TARGET).elf $(TARGET).hex $(TARGET).eep $(TARGET).map $(TARGET).lss\"
|
||||
@echo $(MSG_REMOVE_CMD) Removing output files of \"$(TARGET)\"
|
||||
rm -f $(TARGET).elf $(TARGET).hex $(TARGET).eep $(TARGET).map $(TARGET).lss
|
||||
|
||||
all: begin check_source gcc_version elf hex lss size end
|
||||
@ -203,7 +204,7 @@ lss: $(TARGET).lss
|
||||
$(CROSS)gcc -c $(CC_FLAGS) $(CPP_FLAGS) -x c++ $< -o $@
|
||||
|
||||
%.o: %.S $(MAKEFILE_LIST)
|
||||
@echo $(MSG_COMPILE_CMD) Assembling \"$<\"
|
||||
@echo $(MSG_ASSEMBLE_CMD) Assembling \"$<\"
|
||||
$(CROSS)gcc -c $(CC_FLAGS) $(ASM_FLAGS) -x assembler-with-cpp $< -o $@
|
||||
|
||||
.PRECIOUS : $(OBJECT_FILES)
|
||||
|
Loading…
Reference in New Issue
Block a user