]> git.sur5r.net Git - cc65/blob - libsrc/geos/devel/Makefile
df2cd54f00c4ac1b094cbc8c11f8255b77bbf69a
[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 oserror.o oserrlist.o randomize.o fio_module.o
20
21 #--------------------------------------------------------------------------
22 # Drivers
23
24 EMDS = geos-vdc.emd
25
26 JOYS = geos-stdjoy.joy
27
28 TGIS =
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)