From 2bc87e4ce2a90b1a656387c88afe72441a80763f Mon Sep 17 00:00:00 2001 From: yui Date: Sun, 8 Apr 2018 17:01:40 +0100 Subject: Changes to compile on Mac --- libc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc') diff --git a/libc/Makefile b/libc/Makefile index c79f5c3..6ab133b 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -11,7 +11,7 @@ CPPFLAGS := -I ../ginclude -I include -nostdinc -undef \ -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY -D__thumb__ -DARM_RDI_MONITOR \ -D__STDC__ -D__GNUC__ -DINTERNAL_NEWLIB -D__USER_LABEL_PREFIX__= -AR := ar +AR := $(DEVKITARM)/bin/arm-none-eabi-ar # Clear the default suffixes. .SUFFIXES: @@ -21,7 +21,7 @@ AR := ar .PHONY: all clean -C_SRCS := $(shell find -iname "*.c" -a ! -iname "mallocr.c") +C_SRCS := $(shell find . -iname "*.c" -a ! -iname "mallocr.c") C_INTRS := $(C_SRCS:%.c=%.i) C_OBJS := $(C_SRCS:%.c=%.o) \ stdlib/mallocr.o stdlib/freer.o stdlib/reallocr.o stdlib/callocr.o \ -- cgit v1.2.3