2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# makefile for CC65 Atari runtime library
|
|
|
|
#
|
|
|
|
|
2000-07-21 08:26:44 +00:00
|
|
|
ATARIDEFS =
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@echo $<
|
|
|
|
@$(CC) $(CFLAGS) $(ATARIDEFS) $<
|
|
|
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@echo $<
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $(ATARIDEFS) $<
|
|
|
|
|
|
|
|
C_OBJS =
|
|
|
|
|
|
|
|
S_OBJS = crt0.o kbhit.o conio.o clrscr.o cputc.o ctype.o chline.o cvline.o \
|
|
|
|
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-08-07 22:43:31 +00:00
|
|
|
ostype.o clock.o lseek.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
|
|
|
|