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-05 10:48:20 +00:00
|
|
|
kbhit.o \
|
2002-11-19 23:02:47 +00:00
|
|
|
kernal.o \
|
|
|
|
krdtim.o \
|
|
|
|
kreadst.o \
|
|
|
|
ksetlfs.o \
|
|
|
|
ksetnam.o \
|
|
|
|
randomize.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2000-11-23 19:05:32 +00:00
|
|
|
all: $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2000-11-23 19:05:32 +00:00
|
|
|
@rm -f $(OBJS)
|