PS2BUILD
SDK Homebrew
Sistema de build e SDK para homebrew de PlayStation 2
SDK Homebrew
Sistema de build e SDK para homebrew de PlayStation 2
irm https://ps2build.dev/install.ps1 | iexcurl -sSfL https://ps2build.dev/install.sh | shRoda nativamente no Windows, Linux e macOS.
Instala em seu próprio diretório e roda nativamente no seu sistema operacional.
ps2buildEE_BIN = my-game.elf
EE_OBJS = main.o
EE_INCS += -I$(PS2SDK)/ports/include
EE_LDFLAGS += -L$(PS2SDK)/ports/lib
EE_LIBS += -lpng -lz -lfreetype -lgskit -ldmakit
all: $(EE_BIN)
clean:
rm -f $(EE_BIN) $(EE_OBJS)
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobalproject: my-game
targets:
- name: my-game
type: ee
sources: [main.c]
libs: [png, freetype, gskit, dmakit]compile_commands.json já vem incluído. Funciona na maioria dos editores.