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 \
|
|
|
|
break.o \
|
|
|
|
cgetc.o \
|
|
|
|
clrscr.o \
|
|
|
|
color.o \
|
|
|
|
conio.o \
|
|
|
|
cputc.o \
|
|
|
|
crt0.o \
|
2002-11-22 22:16:20 +00:00
|
|
|
kacptr.o \
|
|
|
|
kbasin.o \
|
2000-11-23 19:05:32 +00:00
|
|
|
kbhit.o \
|
2002-11-22 22:16:20 +00:00
|
|
|
kbsout.o \
|
|
|
|
kchkin.o \
|
|
|
|
kciout.o \
|
|
|
|
kckout.o \
|
|
|
|
kclall.o \
|
|
|
|
kclose.o \
|
|
|
|
kclrch.o \
|
|
|
|
kiobase.o \
|
|
|
|
klisten.o \
|
|
|
|
kload.o \
|
|
|
|
kopen.o \
|
2002-11-22 22:24:24 +00:00
|
|
|
kplot.o \
|
2002-11-22 22:16:20 +00:00
|
|
|
krdtim.o \
|
|
|
|
kreadst.o \
|
|
|
|
ksave.o \
|
|
|
|
ksetlfs.o \
|
|
|
|
ksetnam.o \
|
2002-11-22 22:24:24 +00:00
|
|
|
ksettim.o \
|
2002-11-22 22:16:20 +00:00
|
|
|
ktalk.o \
|
|
|
|
kunlsn.o \
|
|
|
|
kuntlk.o \
|
2002-11-05 10:48:20 +00:00
|
|
|
randomize.o \
|
2002-10-03 18:19:25 +00:00
|
|
|
readjoy.o \
|
|
|
|
tgi_mode_table.o
|
2000-11-23 19:05:32 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2002-10-03 18:19:25 +00:00
|
|
|
@rm -f $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|