mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 21:21:53 +01:00
12 lines
408 B
Makefile
12 lines
408 B
Makefile
LIBPATHS := -L$(WUT_ROOT)/lib
|
|
CFLAGS := -I$(WUT_ROOT)/include -fno-builtin -ffreestanding
|
|
CXXFLAGS := $(CFLAGS)
|
|
LDFLAGS := -nostdlib -nostartfiles -T $(WUT_ROOT)/rules/rpl.ld -pie -fPIE -z common-page-size=64 -z max-page-size=64 -lcoreinit -lcrt
|
|
ELF2RPL := $(WUT_ROOT)/bin/elf2rpl
|
|
|
|
include $(WUT_ROOT)/rules/base.mk
|
|
|
|
%.rpx: %.elf
|
|
@echo "[RPX] $(notdir $@)"
|
|
@$(ELF2RPL) $(BUILDDIR)/$(notdir $<) $@
|