mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 22:30:12 +00:00
62907d1cc6
git-svn-id: svn://svn.cc65.org/cc65/trunk@1845 b7a2c559-68d2-44c3-8de9-860c34a00d81
34 lines
581 B
Makefile
34 lines
581 B
Makefile
#
|
|
# Makefile for GEOS lib
|
|
# for cc65
|
|
#
|
|
#
|
|
|
|
%.o: %.s
|
|
@$(AS) -o $@ $(AFLAGS) $<
|
|
|
|
%.emd: %.o ../../runtime/zeropage.o
|
|
@$(LD) -t module -o $@ $^
|
|
|
|
%.joy: %.o ../../runtime/zeropage.o
|
|
@$(LD) -t module -o $@ $^
|
|
|
|
%.tgi: %.o ../../runtime/zeropage.o
|
|
@$(LD) -t module -o $@ $^
|
|
|
|
S_OBJS = crt0.o oserror.o oserrlist.o randomize.o fio_module.o
|
|
|
|
#--------------------------------------------------------------------------
|
|
# Drivers
|
|
|
|
EMDS = geos-vdc.emd
|
|
|
|
JOYS =
|
|
|
|
TGIS =
|
|
|
|
all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS)
|
|
|
|
clean:
|
|
@rm -f *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)
|