2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# makefile for CC65 Atari runtime library
|
|
|
|
#
|
2000-10-16 23:22:07 +00:00
|
|
|
# NUMDRVS - number of supported drives (max. 16)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2000-10-16 23:22:07 +00:00
|
|
|
ATARIDEFS = -DNUMDRVS=4
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) $(ATARIDEFS) $<
|
|
|
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $(ATARIDEFS) $<
|
|
|
|
|
|
|
|
C_OBJS =
|
|
|
|
|
2000-11-23 19:05:32 +00:00
|
|
|
S_OBJS = crt0.o _scrsize.o kbhit.o clrscr.o cputc.o ctype.o chline.o cvline.o \
|
2000-05-28 13:40:48 +00:00
|
|
|
color.o gotoxy.o cclear.o revers.o readjoy.o break.o where.o write.o \
|
|
|
|
gotox.o gotoy.o savevec.o rwcommon.o cgetc.o read.o getargs.o close.o \
|
2000-07-10 23:14:14 +00:00
|
|
|
open.o oserror.o fdtable.o setcolor.o scroll.o mul40.o graphuse.o \
|
2000-10-12 20:57:37 +00:00
|
|
|
ostype.o clock.o lseek.o dioread.o diowrite.o siocall.o diowritev.o \
|
2000-11-17 01:25:40 +00:00
|
|
|
dio_cts.o dio_stc.o diopncls.o getfd.o mouse.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
|
|
|
|