mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 15:51:52 +01:00
16 lines
375 B
Makefile
16 lines
375 B
Makefile
ifeq ($(shell uname -s),CYGWIN*)
|
|
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
|
|
else
|
|
WUT_ROOT := $(WUT_ROOT)
|
|
endif
|
|
|
|
LIBPATHS := -L$(WUT_ROOT)/lib
|
|
CFLAGS := -I$(WUT_ROOT)/include -fno-builtin -ffreestanding -fno-jump-tables
|
|
CXXFLAGS := $(CFLAGS)
|
|
LDFLAGS := -nostdlib -nostartfiles
|
|
|
|
include $(WUT_ROOT)/rules/base.mk
|
|
|
|
%.rpx: %.elf
|
|
@$(STRIP) $< -o $(BUILDDIR)/$(notdir $<)
|