From: Alan Cox Date: Sat, 17 Jan 2015 20:51:53 +0000 (+0000) Subject: Makefile.6502: use our atoi() and set the target X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bf000cd4fdde2233a5481422bdebf6c052f636b0;p=FUZIX.git Makefile.6502: use our atoi() and set the target If we don't set the target we end up with petscii paths not ascii ones in the C library and that doesn't end well --- diff --git a/Library/libs/Makefile.6502 b/Library/libs/Makefile.6502 index 0a706a5a..7a8c3f65 100644 --- a/Library/libs/Makefile.6502 +++ b/Library/libs/Makefile.6502 @@ -2,7 +2,7 @@ CC = cl65 ASM = ca65 AR = ar65 LINKER = ld65 -CC_OPT = -O -D__STDC__ --all-fastcall -c -O -I../include/ -I../include/6502/ +CC_OPT = -t none -O -D__STDC__ --all-fastcall -c -O -I../include/ -I../include/6502/ ASM_OPT = -o LINKER_OPT = -m -i -o SRC_CRT0 = crt0_6502.s @@ -30,7 +30,7 @@ OBJ_ASM = $(SRC_ASM:.s=.o) # very tightly coded. We want to make use of them eventually # # -SRC_C = __argv.c abort.c asctime.c assert.c atexit.c +SRC_C = __argv.c abort.c asctime.c assert.c atexit.c atoi.c SRC_C += bcmp.c bcopy.c bsearch.c bzero.c calloc.c cfree.c clock.c closedir.c SRC_C += clock_gettime.c clock_getres.c clock_settime.c SRC_C += creat.c crypt.c ctime.c ctype.c difftime.c err.c errno.c error.c