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) $<
|
|
|
|
|
|
|
|
C_OBJS =
|
|
|
|
|
2000-11-23 19:05:32 +00:00
|
|
|
S_OBJS= _scrsize.o \
|
|
|
|
break.o \
|
|
|
|
cclear.o \
|
|
|
|
cgetc.o \
|
|
|
|
chline.o \
|
|
|
|
clrscr.o \
|
|
|
|
color.o \
|
|
|
|
cputc.o \
|
|
|
|
crt0.o \
|
|
|
|
ctype.o \
|
|
|
|
cvline.o \
|
|
|
|
kbhit.o \
|
2002-11-07 12:16:15 +00:00
|
|
|
randomize.o \
|
2000-11-23 19:05:32 +00:00
|
|
|
read.o \
|
|
|
|
revers.o \
|
|
|
|
where.o \
|
|
|
|
write.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
|
|
|
|
clean:
|
2000-07-03 21:03:41 +00:00
|
|
|
@rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) crt0.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2000-11-23 19:05:32 +00:00
|
|
|
|