2001-09-13 21:09:19 +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) $<
|
|
|
|
|
|
|
|
OBJS = _scrsize.o \
|
|
|
|
banking.o \
|
|
|
|
break.o \
|
|
|
|
cgetc.o \
|
2001-09-14 09:52:30 +00:00
|
|
|
clrscr.o \
|
2001-09-13 21:47:10 +00:00
|
|
|
color.o \
|
2001-09-14 14:37:08 +00:00
|
|
|
conio.o \
|
|
|
|
cputc.o \
|
2001-09-13 21:47:10 +00:00
|
|
|
crt0.o \
|
|
|
|
kbhit.o \
|
|
|
|
kirq.o \
|
|
|
|
kplot.o \
|
2001-09-13 21:09:19 +00:00
|
|
|
kscnkey.o \
|
2001-09-13 21:47:10 +00:00
|
|
|
kudtim.o \
|
2001-09-19 10:01:52 +00:00
|
|
|
mouse.o \
|
2001-09-14 09:52:30 +00:00
|
|
|
peeksys.o \
|
2001-09-14 20:52:54 +00:00
|
|
|
pokesys.o \
|
2002-11-05 10:48:20 +00:00
|
|
|
randomize.o \
|
2001-09-19 10:01:52 +00:00
|
|
|
readjoy.o \
|
2002-10-03 18:19:25 +00:00
|
|
|
rs232.o \
|
|
|
|
tgi_mode_table.o
|
2001-09-13 21:09:19 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -f $(OBJS)
|
|
|
|
|