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) $<
|
|
|
|
|
2001-03-30 18:18:40 +00:00
|
|
|
C_OBJS = cbm_load.o cbm_save.o cbm_open.o cbm_read.o cbm_write.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
S_OBJS = ctype.o getenv.o gotoxy.o gotox.o gotoy.o where.o\
|
|
|
|
clock.o chline.o cvline.o cclear.o revers.o\
|
|
|
|
c_readst.o c_close.o c_open.o c_ckout.o c_clrch.o c_bsout.o\
|
|
|
|
c_basin.o c_clall.o c_iobase.o c_setnam.o c_setlfs.o c_acptr.o\
|
|
|
|
c_ciout.o c_untlk.o c_unlsn.o c_listen.o c_talk.o c_load.o\
|
2001-03-20 21:06:04 +00:00
|
|
|
c_save.o oserror.o cbm_close.o c_chkin.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
|
|
|
|