1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00

Adjust geos startup code to new compiler handling. Introduce __STARTUP__

symbol, remove geos.o.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3989 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-07-31 12:46:38 +00:00
parent 8216bf1d6a
commit 7ecf7a7e58
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,6 @@ OBJ_DIRS=common conio devel disk dlgbox file graph menuicon memory mousesprite p
all:
@for i in $(OBJ_DIRS); do $(MAKE) -C $$i; done
@mv devel/crt0.o ../geos.o
@for i in $(OBJ_DIRS); do $(AR) a ../geos.lib $$i/*.o; done
rebuild: zap all clean
@ -24,5 +23,5 @@ clean:
.PHONY: zap
zap: clean
@$(RM) ../geos.lib ../geos.o
@$(RM) ../geos.lib

View File

@ -1,16 +1,17 @@
;
; This must be the *second* file on the linker command line
; (.cvt header must be the *first* one)
; Startup code for geos
;
; Maciej 'YTM/Elysium' Witkowiak
; 26.10.99, 10.3.2000, 15.8.2001, 23.12.2002
.export _exit
.export __STARTUP__ : absolute = 1 ; Mark as startup
.import __RAM_START__, __RAM_SIZE__ ; Linker generated
.import initlib, donelib
.import callmain
.import zerobss
.importzp sp
.export _exit
.include "../inc/jumptab.inc"
; ------------------------------------------------------------------------