+%.emd: %.o ../runtime/zeropage.o
+ @$(LD) -t module -o $@ $^
+
+%.joy: %.o ../runtime/zeropage.o
+ @$(LD) -t module -o $@ $^
+
+%.tgi: %.o ../runtime/zeropage.o
+ @$(LD) -t module -o $@ $^
+
+#--------------------------------------------------------------------------
+# Object files
+
+OBJS = _scrsize.o \
+ break.o \
+ cclear.o \
+ cgetc.o \
+ chline.o \
+ clock.o \
+ close.o \
+ clrscr.o \
+ color.o \
+ cputc.o \
+ crt0.o \
+ ctype.o \
+ cvline.o \
+ dio_cts.o \
+ dio_stc.o \
+ diopncls.o \
+ dioread.o \
+ diowrite.o \
+ diowritev.o \
+ fdtable.o \
+ getargs.o \
+ getfd.o \
+ gotox.o \
+ gotoy.o \
+ gotoxy.o \
+ graphics.o \
+ graphuse.o \
+ joy_stddrv.o \
+ kbhit.o \
+ lseek.o \
+ mouse.o \
+ mul40.o \
+ open.o \
+ oserrlist.o \
+ oserror.o \
+ ostype.o \
+ randomize.o \
+ read.o \
+ readjoy.o \
+ remove.o \
+ revers.o \
+ rs232.o \
+ rwcommon.o \
+ savevec.o \
+ scroll.o \
+ setcolor.o \
+ siocall.o \
+ systime.o \
+ tvtype.o \
+ ucase_fn.o \
+ where.o \
+ write.o
+
+
+#--------------------------------------------------------------------------
+# Drivers
+
+EMDS =
+
+JOYS = atari-stdjoy.joy
+
+TGIS =
+
+#--------------------------------------------------------------------------
+# Targets