]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/devel/Makefile
Remove the load address since it's supplied in its own module now.
[cc65] / libsrc / geos / devel / Makefile
index ef41ffbcbe419654b83359c734942375b5e0b03d..bb5c4d71999fe1cd5152616474069170f23b8ff0 100644 (file)
@@ -7,10 +7,35 @@
 %.o:   %.s
        @$(AS) -o $@ $(AFLAGS) $<
 
+%.emd: %.o ../../runtime/zeropage.o
+       @$(LD) -o $@ -t module $^
 
-S_OBJS = crt0.o
+%.joy: %.o ../../runtime/zeropage.o
+       @$(LD) -o $@ -t module $^
 
-all: $(S_OBJS)
+%.tgi: %.o ../../runtime/zeropage.o
+       @$(LD) -o $@ -t module $^
+
+S_OBJS = crt0.o                \
+          extzp.o               \
+          fio_module.o          \
+          joy_stddrv.o          \
+          mainargs.o            \
+          oserror.o             \
+          oserrlist.o           \
+          randomize.o           \
+          tgi_mode_table.o
+
+#--------------------------------------------------------------------------
+# Drivers
+
+EMDS = geos-vdc.emd
+
+JOYS = geos-stdjoy.joy
+
+TGIS = geos-tgi.tgi
+
+all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS)
 
 clean:
-       @rm -f *.~ $(S_OBJS) core
+       @$(RM) *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)