mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
b2e0ed603e
changed/added some comments all cbm_* IO functions are using _oserror now git-svn-id: svn://svn.cc65.org/cc65/trunk@682 b7a2c559-68d2-44c3-8de9-860c34a00d81
28 lines
662 B
Makefile
28 lines
662 B
Makefile
#
|
|
# makefile for CC65 runtime library
|
|
#
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
%.o: %.c
|
|
@$(CC) $(CFLAGS) $<
|
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
|
|
|
%.o: %.s
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
C_OBJS = cbm_load.o cbm_save.o cbm_open.o cbm_read.o cbm_write.o
|
|
|
|
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\
|
|
c_save.o oserror.o cbm_close.o c_chkin.o
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
clean:
|
|
@rm -f *~ *.bck $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
|
|
|