yo this cygpath shit is fukt up yo

This commit is contained in:
James Benton 2016-07-06 21:06:57 +01:00
parent 64bb52c552
commit 9b769d2f6e
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
WUT_ROOT := $(CURDIR)/..
include $(WUT_ROOT)/rules/ppc.mk
include $(CURDIR)/../rules/ppc.mk
WUT_ROOT := $(CURDIR)/..
CFILES := $(wildcard *.c)
SFILES := $(wildcard *.S)
OFILES := $(CFILES:.c=.o) $(SFILES:.S=.o)

View File

@ -1,3 +1,9 @@
ifeq ($(shell uname -o),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
CXXFLAGS := $(CFLAGS)