]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/Makefile
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / atari / Makefile
index 5df75c8f584e51df34fa4479f864ab6bd68fabeb..95ca16229fced6ac7ab5bd263cb10b14f7a19eac 100644 (file)
@@ -30,7 +30,7 @@ AS    = ../../src/ca65/ca65
 CC     = ../../src/cc65/cc65
 LD     = ../../src/ld65/ld65
 
-AFLAGS = -t $(SYS) -I../../asminc
+AFLAGS = -t $(SYS) --forget-inc-paths -I../../asminc
 CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
 
 #--------------------------------------------------------------------------
@@ -49,8 +49,9 @@ CFLAGS        = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
 %.joy: %.o ../runtime/zeropage.o
        @$(LD) -t module -o $@ $^
 
-%.tgi: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+%.tgi: %.o ../runtime/zeropage.o atari_tgi_common.inc
+       @$(LD) -t module -o $@ $< ../runtime/zeropage.o
+
 
 #--------------------------------------------------------------------------
 # Object files
@@ -84,7 +85,6 @@ OBJS =        _scrsize.o      \
        gotoy.o         \
        gotoxy.o        \
        graphics.o      \
-       graphuse.o      \
        joy_stddrv.o    \
        kbhit.o         \
        lseek.o         \
@@ -103,10 +103,13 @@ OBJS =    _scrsize.o      \
        scroll.o        \
        setcolor.o      \
        siocall.o       \
+       sysmkdir.o      \
        sysremove.o     \
+       sysrmdir.o      \
        systime.o       \
+       sysuname.o      \
+       tgi_mode_table.o\
        tvtype.o        \
-        sysuname.o      \
        ucase_fn.o      \
        wherex.o        \
        wherey.o        \
@@ -118,9 +121,11 @@ OBJS =     _scrsize.o      \
 
 EMDS =
 
-JOYS = atari-stdjoy.joy
+JOYS = atari-stdjoy.joy atari-multijoy.joy
 
-TGIS =
+TGIS = atari-3.tgi atari-4.tgi atari-5.tgi atari-6.tgi atari-7.tgi atari-8.tgi \
+       atari-9.tgi atari-10.tgi atari-11.tgi atari-14.tgi atari-15.tgi atari-8p2.tgi \
+       atari-9p2.tgi atari-10p2.tgi atari-15p2.tgi
 
 #--------------------------------------------------------------------------
 # Targets