actually fix Makefile

This commit is contained in:
dark-samus 2020-04-28 00:20:22 -04:00
parent 95773ca8db
commit 75be146d21

View File

@ -71,7 +71,7 @@ $(BUILD_DIR):
mkdir $(BUILD_DIR) mkdir $(BUILD_DIR)
$(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(LD_SCRIPT) $(BUILD_DIR) $(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(LD_SCRIPT) $(BUILD_DIR)
$(LD) $(LDFLAGS) -o $@ $< $(LD) $(LDFLAGS) -o $@ $(O_FILES)
$(BUILD_DIR)/%.o: %.s $(BUILD_DIR) $(BUILD_DIR)/%.o: %.s $(BUILD_DIR)
$(AS) $(ASFLAGS) -o $@ $< $(AS) $(ASFLAGS) -o $@ $<