]> git.sur5r.net Git - cc65/blob - libsrc/geos/devel/Makefile
a5287174c4809e83d9b41e936580f39a4c9a184d
[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                \
20           extzp.o               \
21           fio_module.o          \
22           mainargs.o            \
23           oserror.o             \
24           oserrlist.o           \
25           randomize.o           \
26           tgi_mode_table.o
27
28 #--------------------------------------------------------------------------
29 # Drivers
30
31 EMDS = geos-vdc.emd
32
33 JOYS = geos-stdjoy.joy
34
35 TGIS = geos-tgi.tgi
36
37 all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS)
38
39 clean:
40         @rm -f *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)