|
@@ -165,20 +165,24 @@ OBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(ASM_SOURCES:.s=.o)))
|
|
|
vpath %.s $(sort $(dir $(ASM_SOURCES)))
|
|
|
|
|
|
$(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR)
|
|
|
- $(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
|
|
|
+ @echo Compiling $<
|
|
|
+ @$(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
|
|
|
|
|
|
$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
|
|
|
- $(AS) -c $(CFLAGS) $< -o $@
|
|
|
+ @echo Compiling $<
|
|
|
+ @$(AS) -c $(CFLAGS) $< -o $@
|
|
|
|
|
|
$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
|
|
|
- $(CC) $(OBJECTS) $(LDFLAGS) -o $@
|
|
|
+ @echo Linking...
|
|
|
+ @$(CC) $(OBJECTS) $(LDFLAGS) -o $@
|
|
|
$(SZ) $@
|
|
|
|
|
|
$(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
|
|
|
- $(HEX) $< $@
|
|
|
+ @echo Make HEX...
|
|
|
+ @$(HEX) $< $@
|
|
|
|
|
|
-$(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
|
|
|
- $(BIN) $< $@
|
|
|
+#$(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
|
|
|
+# $(BIN) $< $@
|
|
|
|
|
|
$(BUILD_DIR):
|
|
|
mkdir $@
|