]> 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 e7c140ad54c8deb57bf1ad59ce1606299d7cd938..bb5c4d71999fe1cd5152616474069170f23b8ff0 100644 (file)
@@ -5,13 +5,37 @@
 #
 
 %.o:   %.s
-       @echo $<
        @$(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
\ No newline at end of file
+       @$(RM) *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)