From 598ca471d2013edb98092386a3d62a5fa012f16b Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 8 Nov 2020 16:50:01 +0100 Subject: [PATCH] use static library again --- cube/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cube/Makefile b/cube/Makefile index 5ad4ead..f6af9b4 100644 --- a/cube/Makefile +++ b/cube/Makefile @@ -177,8 +177,8 @@ $(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR) $(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR) $(AS) -c $(CFLAGS) $< -o $@ -$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile - $(CC) $(OBJECTS) w5500.o wizchip_conf.o $(LDFLAGS) -o $@ +$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) w5500.a Makefile + $(CC) $(OBJECTS) w5500.a $(LDFLAGS) -o $@ $(SZ) $@ $(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR) @@ -201,4 +201,4 @@ clean: ####################################### -include $(wildcard $(BUILD_DIR)/*.d) -# *** EOF *** +# *** EOF ***