Implement PSEXE Target as separated makefile
This commit is contained in:
7
lib/PSEXETarget.mk
Normal file
7
lib/PSEXETarget.mk
Normal 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 $< $@
|
||||
Reference in New Issue
Block a user