Copy library instead of building it directly

This commit is contained in:
Jaby
2022-08-23 20:05:53 +02:00
parent 83b2cb465e
commit b872a8db15
2 changed files with 14 additions and 8 deletions

View File

@@ -79,11 +79,6 @@ $(OUTPUT_DIR)/%.o: $$(subst !super,..,%.s)
@mkdir -p $(dir $@)
$(CC) $(ARCHFLAGS) -I$(PCSX_REDUX) -g -c -o $@ $<
#Linking rule
$(TARGET).a: $(OBJS)
@mkdir -p $(dir $@)
$(AR) rcs $(TARGET).a $(OBJS)
$(TARGET).elf: $(OBJS)
$(LD) -o $(TARGET).elf $(LDFLAGS_all) $(LDFLAGS) $(OBJS) $(LIBS_all) $(LIBS)