mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 04:41:50 +01:00
13 lines
352 B
Makefile
13 lines
352 B
Makefile
|
LIBPATHS := -L$(WUT_ROOT)/lib
|
||
|
CFLAGS := -I$(WUT_ROOT)/include -fno-builtin -ffreestanding
|
||
|
CXXFLAGS := $(CFLAGS)
|
||
|
LDFLAGS := -nostdlib -nostartfiles $(WUT_ROOT)/lib/crt0.o -T $(WUT_ROOT)/rules/rpl.ld
|
||
|
|
||
|
include $(WUT_ROOT)/rules/base.mk
|
||
|
|
||
|
%.rpx: %.elf
|
||
|
@$(STRIP) $< -o $(BUILDDIR)/$(notdir $<)
|
||
|
|
||
|
%.rpl: %.elf
|
||
|
@$(STRIP) $< -o $(BUILDDIR)/$(notdir $<)
|