Added emd drivers

git-svn-id: svn://svn.cc65.org/cc65/trunk@1693 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-02 06:14:46 +00:00
parent 8369e0fe7a
commit 508af1ca21
3 changed files with 513 additions and 1 deletions

View File

@@ -4,6 +4,9 @@
.SUFFIXES: .o .s .c
#--------------------------------------------------------------------------
# Rules
%.o: %.c
@$(CC) $(CFLAGS) $<
@$(AS) -o $@ $(AFLAGS) $(*).s
@@ -11,6 +14,15 @@
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
%.emd: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
%.tgi: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
#--------------------------------------------------------------------------
# Object files
OBJS = _scrsize.o \
break.o \
cgetc.o \
@@ -27,7 +39,20 @@ OBJS = _scrsize.o \
rs232.o \
tgi_mode_table.o
all: $(OBJS)
#--------------------------------------------------------------------------
# Drivers
TGIS =
EMDS = c128-georam.emd c128-reu.emd
#--------------------------------------------------------------------------
# Targets
all: $(OBJS) $(EMDS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
@rm -f $(OBJS)