📄 makefile
字号:
EE_INCS := $(EE_INCS) -I$(PS2DEV)/sbv-1.0-lite/include
EE_CFLAGS := -mips3 -ffreestanding -fno-builtin -G0 \
-fshort-double -mlong64 -mhard-float -mno-abicalls -O2 -EL -Wall \
-c $(EE_INCS) $(EE_CFLAGS)
EE_ASFLAGS := -EL -G0 $(EE_ASFLAGS)
LOADADDR = 0x90000
STACKADDR = 0xb0000
ifeq ($(DEBUG),1)
LOADADDR = 0x1700000
STACKADDR = 0x1720000
endif
LDPARAMS := -Wl,--defsym -Wl,_stack_size=0x8000 -Wl,--defsym -Wl,_stack=$(STACKADDR)
EE_LDFLAGS += -Wl,-Ttext -Wl,$(LOADADDR) -s $(LDPARAMS)
EE_LDFLAGS := $(EE_LDFLAGS) -L$(PS2DEV)/sbv-1.0-lite/lib \
EE_BIN = loader.elf
EE_OBJS = loader.o fakehost.o poweroff.o
EE_LIBS = -lfileXio -lsbv_patches -lpoweroff -ldebug -lc
all: $(EE_BIN)
fakehost.s:
bin2s $(PS2SDK)/iop/irx/fakehost.irx fakehost.s fakehost_irx
poweroff.s:
bin2s $(PS2SDK)/iop/irx/poweroff.irx poweroff.s poweroff_irx
clean:
del /f *.o *.a *.s
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -