2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# makefile for CC65 runtime library
|
|
|
|
#
|
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
|
2000-11-23 19:05:32 +00:00
|
|
|
OBJS = _scrsize.o \
|
|
|
|
banking.o \
|
|
|
|
break.o \
|
|
|
|
cgetc.o \
|
|
|
|
clrscr.o \
|
|
|
|
color.o \
|
|
|
|
cputc.o \
|
|
|
|
crt0.o \
|
|
|
|
crtc.o \
|
|
|
|
kbhit.o \
|
|
|
|
kirq.o \
|
|
|
|
kplot.o \
|
|
|
|
kscnkey.o \
|
|
|
|
kudtim.o \
|
2001-09-14 08:42:17 +00:00
|
|
|
peeksys.o \
|
2000-11-23 19:05:32 +00:00
|
|
|
pokesys.o \
|
2002-11-05 10:48:20 +00:00
|
|
|
randomize.o \
|
2000-11-23 19:05:32 +00:00
|
|
|
rs232.o
|
|
|
|
|
|
|
|
all: $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2000-11-23 19:05:32 +00:00
|
|
|
@rm -f $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|