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
.PHONY: zap
zap: clean
- @$(RM) ../geos.lib ../geos.o
+ @$(RM) ../geos.lib
;
-; 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"
; ------------------------------------------------------------------------