2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# Makefile for GEOS lib
|
|
|
|
# for cc65
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -o $@ $(AFLAGS) $<
|
|
|
|
|
2002-12-25 18:42:42 +00:00
|
|
|
%.emd: %.o ../../runtime/zeropage.o
|
|
|
|
@$(LD) -t module -o $@ $^
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-12-25 18:42:42 +00:00
|
|
|
%.joy: %.o ../../runtime/zeropage.o
|
|
|
|
@$(LD) -t module -o $@ $^
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-12-25 18:42:42 +00:00
|
|
|
%.tgi: %.o ../../runtime/zeropage.o
|
|
|
|
@$(LD) -t module -o $@ $^
|
|
|
|
|
2003-03-10 21:21:46 +00:00
|
|
|
S_OBJS = crt0.o \
|
|
|
|
extzp.o \
|
|
|
|
fio_module.o \
|
|
|
|
mainargs.o \
|
|
|
|
oserror.o \
|
|
|
|
oserrlist.o \
|
|
|
|
randomize.o \
|
|
|
|
tgi_mode_table.o
|
2002-12-25 18:42:42 +00:00
|
|
|
|
|
|
|
#--------------------------------------------------------------------------
|
|
|
|
# Drivers
|
|
|
|
|
|
|
|
EMDS = geos-vdc.emd
|
|
|
|
|
2002-12-25 19:43:34 +00:00
|
|
|
JOYS = geos-stdjoy.joy
|
2002-12-25 18:42:42 +00:00
|
|
|
|
2002-12-31 15:35:55 +00:00
|
|
|
TGIS = geos-tgi.tgi
|
2002-12-25 18:42:42 +00:00
|
|
|
|
|
|
|
all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2003-08-20 11:59:27 +00:00
|
|
|
@$(RM) *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)
|