wut/rules/ppc.mk

16 lines
375 B
Makefile
Raw Normal View History

2016-08-14 13:39:58 +02:00
ifeq ($(shell uname -s),CYGWIN*)
2016-07-06 22:06:57 +02:00
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
else
WUT_ROOT := $(WUT_ROOT)
endif
2015-12-27 03:10:38 +01:00
LIBPATHS := -L$(WUT_ROOT)/lib
CFLAGS := -I$(WUT_ROOT)/include -fno-builtin -ffreestanding -fno-jump-tables
2015-12-27 03:10:38 +01:00
CXXFLAGS := $(CFLAGS)
2015-12-27 14:45:32 +01:00
LDFLAGS := -nostdlib -nostartfiles
2015-12-27 03:10:38 +01:00
include $(WUT_ROOT)/rules/base.mk
%.rpx: %.elf
@$(STRIP) $< -o $(BUILDDIR)/$(notdir $<)