]> git.sur5r.net Git - cc65/blob - libsrc/geos/devel/Makefile
ebe4e2a7a8724663fa2403954d9a47a10d83f23d
[cc65] / libsrc / geos / devel / Makefile
1 #
2 # Makefile for GEOS lib
3 # for cc65
4 #
5 #
6
7 %.o:    %.s
8         @$(AS) -o $@ $(AFLAGS) $<
9
10 %.emd:  %.o ../../runtime/zeropage.o
11         @$(LD) -t module -o $@ $^
12
13 %.joy:  %.o ../../runtime/zeropage.o
14         @$(LD) -t module -o $@ $^
15
16 %.tgi:  %.o ../../runtime/zeropage.o
17         @$(LD) -t module -o $@ $^
18
19 S_OBJS  = crt0.o geoszp.o oserror.o oserrlist.o randomize.o fio_module.o tgi_mode_table.o
20
21 #--------------------------------------------------------------------------
22 # Drivers
23
24 EMDS = geos-vdc.emd
25
26 JOYS = geos-stdjoy.joy
27
28 TGIS = geos-tgi.tgi
29
30 all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS)
31
32 clean:
33         @rm -f *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)