From: cuz Date: Sun, 21 Apr 2002 14:19:16 +0000 (+0000) Subject: Move include files into /asminc, changed include file paths X-Git-Tag: V2.12.0~2372 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0599a24fec79005d40c32d714baff6d52aae0e3;p=cc65 Move include files into /asminc, changed include file paths git-svn-id: svn://svn.cc65.org/cc65/trunk@1249 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/Makefile b/libsrc/Makefile index 4cf826026..b7fb80010 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -36,7 +36,7 @@ apple2lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t apple2 -I../../include" \ - AFLAGS="-t apple2" \ + AFLAGS="-t apple2 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv apple2/crt0.o apple2.o @@ -52,7 +52,7 @@ atarilib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t atari -I../../include" \ - AFLAGS="-t atari" \ + AFLAGS="-t atari -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv atari/crt0.o atari.o @@ -68,7 +68,7 @@ c64lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t c64 -I../../include" \ - AFLAGS="-t c64" \ + AFLAGS="-t c64 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv c64/crt0.o c64.o @@ -84,7 +84,7 @@ c128lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t c128 -I../../include" \ - AFLAGS="-t c128" \ + AFLAGS="-t c128 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv c128/crt0.o c128.o @@ -100,7 +100,7 @@ cbm510lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t cbm510 -I../../include" \ - AFLAGS="-t cbm510" \ + AFLAGS="-t cbm510 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv cbm510/crt0.o cbm510.o @@ -116,7 +116,7 @@ cbm610lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t cbm610 -I../../include" \ - AFLAGS="-t cbm610" \ + AFLAGS="-t cbm610 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv cbm610/crt0.o cbm610.o @@ -132,14 +132,14 @@ geoslib: AS=../$(AS) \ AR=../$(AR) \ CFLAGS="-Osir -g -T -t geos -I../../../include" \ - AFLAGS="-t geos" \ + AFLAGS="-t geos -I../../../asminc" \ $(MAKE) -C geos || exit 1 for i in common runtime; do \ CC=$(CC) \ AS=$(AS) \ AR=$(AR) \ CFLAGS="-Osir -g -T -t geos -I../../include" \ - AFLAGS="-t geos" \ + AFLAGS="-t geos -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done for i in common runtime; do \ @@ -160,7 +160,7 @@ petlib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t pet -I../../include" \ - AFLAGS="-t pet" \ + AFLAGS="-t pet -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv pet/crt0.o pet.o @@ -176,7 +176,7 @@ plus4lib: CC=$(CC) \ AS=$(AS) \ CFLAGS="-Osir -g -T -t plus4 -I../../include" \ - AFLAGS="-t plus4" \ + AFLAGS="-t plus4 -I../../asminc" \ $(MAKE) -C $$i || exit 1; \ done mv plus4/crt0.o plus4.o @@ -201,3 +201,4 @@ zap: clean + diff --git a/libsrc/atari/crt0.s b/libsrc/atari/crt0.s index 685740a34..3c5091f4a 100644 --- a/libsrc/atari/crt0.s +++ b/libsrc/atari/crt0.s @@ -19,7 +19,7 @@ .import __CODE_LOAD__, __BSS_LOAD__ .include "atari.inc" - .include "../common/_file.inc" + .include "_file.inc" ; ------------------------------------------------------------------------ ; Define and export the ZP variables for the runtime diff --git a/libsrc/atari/graphics.s b/libsrc/atari/graphics.s index 1f3d62d6f..e49f01842 100644 --- a/libsrc/atari/graphics.s +++ b/libsrc/atari/graphics.s @@ -20,7 +20,7 @@ .importzp tmp1,tmp2,tmp3 .include "atari.inc" - .include "../common/errno.inc" + .include "errno.inc" .code diff --git a/libsrc/atari/lseek.s b/libsrc/atari/lseek.s index e8e63ef71..27bc1ad65 100644 --- a/libsrc/atari/lseek.s +++ b/libsrc/atari/lseek.s @@ -11,7 +11,7 @@ .import incsp6,__errno,__oserror .importzp sreg .include "atari.inc" - .include "../common/errno.inc" + .include "errno.inc" .proc _lseek diff --git a/libsrc/atari/open.s b/libsrc/atari/open.s index 3cf61b58f..f28f8a032 100644 --- a/libsrc/atari/open.s +++ b/libsrc/atari/open.s @@ -5,8 +5,8 @@ ; .include "atari.inc" - .include "../common/fmode.inc" - .include "../common/errno.inc" + .include "fmode.inc" + .include "errno.inc" .export _open .import clriocb .import fddecusage,newfd diff --git a/libsrc/atari/oserror.s b/libsrc/atari/oserror.s index b4d0a48ac..a2db63d79 100644 --- a/libsrc/atari/oserror.s +++ b/libsrc/atari/oserror.s @@ -5,7 +5,7 @@ ; int __fastcall__ _osmaperrno (unsigned char oserror); ; - .include "../common/errno.inc" + .include "errno.inc" .export __osmaperrno .proc __osmaperrno @@ -33,7 +33,7 @@ inverr: lda #