wut/rules/ppc.mk

16 lines
357 B
Makefile
Raw Normal View History

2016-07-06 22:06:57 +02:00
ifeq ($(shell uname -o),Cygwin)
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
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 $<)