1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

Avoid paths in .include directives. The path needs to be rather set in the Makefile to allow to set it later depending on the target currently built.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5432 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2012-01-31 21:15:28 +00:00
parent b89b9b7049
commit 157fbddc68
12 changed files with 22 additions and 22 deletions

View File

@ -6,8 +6,8 @@
.export copydata .export copydata
.import __DATA_LOAD__, __DATA_RUN__, __DATA_SIZE__ .import __DATA_LOAD__, __DATA_RUN__, __DATA_SIZE__
.include "../inc/geossym.inc" .include "geossym.inc"
.include "../inc/jumptab.inc" .include "jumptab.inc"
copydata: copydata:
lda #<__DATA_SIZE__ ; no need to check if it is == 0 lda #<__DATA_SIZE__ ; no need to check if it is == 0

View File

@ -7,7 +7,7 @@
; 6.3.2001, 17.4.2003 ; 6.3.2001, 17.4.2003
.include "../inc/geossym.inc" .include "geossym.inc"
.export xsize, ysize .export xsize, ysize
.export screensize .export screensize

View File

@ -13,7 +13,7 @@
.import callmain .import callmain
.import zerobss .import zerobss
.importzp sp .importzp sp
.include "../inc/jumptab.inc" .include "jumptab.inc"
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; Place the startup code in a special segment. ; Place the startup code in a special segment.

View File

@ -12,8 +12,8 @@
FILEDES = 3 ; first free to use file descriptor FILEDES = 3 ; first free to use file descriptor
.include "../inc/geossym.inc" .include "geossym.inc"
.include "../inc/const.inc" .include "const.inc"
.include "errno.inc" .include "errno.inc"
.include "fcntl.inc" .include "fcntl.inc"

View File

@ -9,7 +9,7 @@
.include "joy-kernel.inc" .include "joy-kernel.inc"
.include "joy-error.inc" .include "joy-error.inc"
.include "../inc/geossym.inc" .include "geossym.inc"
.macpack generic .macpack generic

View File

@ -8,10 +8,10 @@
.include "tgi-kernel.inc" .include "tgi-kernel.inc"
.include "tgi-error.inc" .include "tgi-error.inc"
.include "../inc/const.inc" .include "const.inc"
.include "../inc/jumptab.inc" .include "jumptab.inc"
.include "../inc/geossym.inc" .include "geossym.inc"
.include "../inc/geossym2.inc" .include "geossym2.inc"
.macpack generic .macpack generic

View File

@ -15,8 +15,8 @@
.constructor initmainargs, 24 .constructor initmainargs, 24
.import __argc, __argv .import __argc, __argv
.include "../inc/const.inc" .include "const.inc"
.include "../inc/geossym.inc" .include "geossym.inc"
;--------------------------------------------------------------------------- ;---------------------------------------------------------------------------
; Setup arguments for main ; Setup arguments for main

View File

@ -13,9 +13,9 @@
.export _mouse_def_callbacks .export _mouse_def_callbacks
; .include "mouse-kernel.inc" ; .include "mouse-kernel.inc"
; .include "../inc/const.inc" ; .include "const.inc"
; .include "../inc/geossym.inc" ; .include "geossym.inc"
.include "../inc/jumptab.inc" .include "jumptab.inc"
; .macpack generic ; .macpack generic

View File

@ -14,7 +14,7 @@
; error code could not be found. ; error code could not be found.
; ;
.include "../inc/const.inc" .include "const.inc"
.export __sys_oserrlist .export __sys_oserrlist

View File

@ -9,7 +9,7 @@
.export __osmaperrno .export __osmaperrno
.include "errno.inc" .include "errno.inc"
.include "../inc/const.inc" .include "const.inc"
.code .code

View File

@ -8,7 +8,7 @@
.export __randomize .export __randomize
.import _srand .import _srand
.include "../inc/geossym.inc" .include "geossym.inc"
__randomize: __randomize:
lda random ; get random value from internal generator lda random ; get random value from internal generator

View File

@ -8,9 +8,9 @@
.import popax,pushax,_dio_log_to_phys .import popax,pushax,_dio_log_to_phys
.importzp ptr1 .importzp ptr1
.export dio_params,dio_secnum .export dio_params,dio_secnum
.include "../inc/geossym.inc" .include "geossym.inc"
.include "../inc/jumptab.inc" .include "jumptab.inc"
.include "../inc/dio.inc" .include "dio.inc"
.bss .bss
dio_secnum: .res 2 dio_secnum: .res 2