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) $<
|
|
|
|
|
2002-06-22 10:58:24 +00:00
|
|
|
C_OBJS = cbm_load.o \
|
|
|
|
cbm_save.o \
|
|
|
|
cbm_write.o
|
|
|
|
|
|
|
|
S_OBJS = c_acptr.o \
|
|
|
|
c_basin.o \
|
|
|
|
c_bsout.o \
|
|
|
|
c_chkin.o \
|
|
|
|
c_ciout.o \
|
|
|
|
c_ckout.o \
|
|
|
|
c_clall.o \
|
|
|
|
c_close.o \
|
|
|
|
c_clrch.o \
|
|
|
|
c_iobase.o \
|
|
|
|
c_listen.o \
|
|
|
|
c_load.o \
|
|
|
|
c_open.o \
|
|
|
|
c_readst.o \
|
|
|
|
c_save.o \
|
|
|
|
c_setlfs.o \
|
|
|
|
c_setnam.o \
|
|
|
|
c_talk.o \
|
|
|
|
c_unlsn.o \
|
|
|
|
c_untlk.o \
|
|
|
|
cbm_close.o \
|
|
|
|
cbm_open.o \
|
|
|
|
cbm_read.o \
|
|
|
|
cclear.o \
|
|
|
|
chline.o \
|
|
|
|
clock.o \
|
|
|
|
ctype.o \
|
|
|
|
cvline.o \
|
|
|
|
getenv.o \
|
|
|
|
gotox.o \
|
|
|
|
gotoxy.o \
|
|
|
|
gotoy.o \
|
2002-07-18 13:29:04 +00:00
|
|
|
oserrlist.o \
|
2002-06-22 10:58:24 +00:00
|
|
|
oserror.o \
|
|
|
|
revers.o \
|
|
|
|
where.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
|
|
|
|
clean:
|
2001-03-21 20:59:27 +00:00
|
|
|
@rm -f *~ *.bck $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|