WiiUPluginSystem/plugin_makefile.mk

9 lines
379 B
Makefile
Raw Normal View History

ASFLAGS := -mregnames
# -T: use the linker script specified
# -wrap: wrap function
# -q: Leave relocation sections and contents in fully linked executables
LDFLAGS += -T $(WUPSDIR)/wups.ld \
-Wl,-wrap,open,-wrap,close,-wrap,write,-wrap,read,-wrap,lseek,-wrap,stat,-wrap,fstat,-wrap,opendir,-wrap,closedir,-wrap,readdir,-wrap,mkdir \
-Wl,-q