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 \
|
|
|
|
conio.o \
|
|
|
|
crt0.o \
|
|
|
|
color.o \
|
|
|
|
cputc.o \
|
|
|
|
kbhit.o \
|
2001-09-08 15:24:54 +00:00
|
|
|
mouse.o \
|
2002-11-05 10:48:20 +00:00
|
|
|
randomize.o \
|
2001-09-13 16:01:32 +00:00
|
|
|
readjoy.o \
|
2001-10-25 15:54:40 +00:00
|
|
|
rs232.o \
|
2002-10-03 18:19:25 +00:00
|
|
|
tgi_mode_table.o\
|
2001-09-13 16:01:32 +00:00
|
|
|
write.o
|
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)
|
2000-05-28 13:40:48 +00:00
|
|
|
|