Implement PSEXE Target as separated makefile

This commit is contained in:
2022-08-23 20:13:39 +02:00
parent 220117cf1a
commit 3d61f44cf7
2 changed files with 7 additions and 7 deletions

7
lib/PSEXETarget.mk Normal file
View File

@@ -0,0 +1,7 @@
#Linking rule
$(TARGET).elf: $(OBJS)
$(LD) -o $(TARGET).elf $(LDFLAGS_all) $(LDFLAGS) $(OBJS) $(LIBS_all) $(LIBS)
#Strips the psexe
$(TARGET).psexe: $(TARGET).elf
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@