2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# makefile for CC65 runtime library
|
|
|
|
#
|
|
|
|
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
|
|
|
|
.c.s:
|
|
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
|
|
|
|
.s.o:
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
|
2000-10-25 07:06:55 +00:00
|
|
|
OBJS = add.o \
|
|
|
|
addeqsp.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
addysp.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
and.o \
|
|
|
|
aslax1.o \
|
|
|
|
aslax2.o \
|
|
|
|
aslax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
aslax4.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
asleax1.o \
|
|
|
|
asleax2.o \
|
|
|
|
asleax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
asleax4.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
asrax1.o \
|
|
|
|
asrax2.o \
|
|
|
|
asrax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
asrax4.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
asreax1.o \
|
|
|
|
asreax2.o \
|
|
|
|
asreax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
asreax4.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
axlong.o \
|
|
|
|
bneg.o \
|
|
|
|
bpushbsp.o \
|
|
|
|
call.o \
|
|
|
|
compl.o \
|
2000-11-20 22:17:14 +00:00
|
|
|
condes.o \
|
2000-10-31 18:42:47 +00:00
|
|
|
decax1.o \
|
|
|
|
decax2.o \
|
2001-03-26 20:47:12 +00:00
|
|
|
decax3.o \
|
|
|
|
decax4.o \
|
|
|
|
decax5.o \
|
|
|
|
decax6.o \
|
|
|
|
decax7.o \
|
|
|
|
decax8.o \
|
2000-10-31 18:42:47 +00:00
|
|
|
decaxy.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
decsp1.o \
|
|
|
|
decsp2.o \
|
|
|
|
decsp3.o \
|
|
|
|
decsp4.o \
|
|
|
|
decsp5.o \
|
|
|
|
decsp6.o \
|
|
|
|
decsp7.o \
|
|
|
|
decsp8.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
div.o \
|
|
|
|
enter.o \
|
|
|
|
eq.o \
|
|
|
|
ge.o \
|
|
|
|
gt.o \
|
|
|
|
icmp.o \
|
2000-10-31 18:42:47 +00:00
|
|
|
incax1.o \
|
|
|
|
incax2.o \
|
|
|
|
incax3.o \
|
|
|
|
incax5.o \
|
|
|
|
incax6.o \
|
|
|
|
incax7.o \
|
|
|
|
incax8.o \
|
|
|
|
incaxy.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
incsp1.o \
|
|
|
|
incsp2.o \
|
|
|
|
incsp3.o \
|
|
|
|
incsp4.o \
|
|
|
|
incsp5.o \
|
|
|
|
incsp6.o \
|
|
|
|
incsp7.o \
|
|
|
|
incsp8.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
ladd.o \
|
|
|
|
laddeq.o \
|
|
|
|
laddeqsp.o \
|
|
|
|
land.o \
|
|
|
|
lbneg.o \
|
|
|
|
lcmp.o \
|
|
|
|
lcompl.o \
|
|
|
|
ldai.o \
|
|
|
|
ldau0sp.o \
|
|
|
|
ldaui.o \
|
|
|
|
ldauisp.o \
|
|
|
|
ldaxi.o \
|
|
|
|
ldaxsp.o \
|
|
|
|
ldeaxi.o \
|
2000-11-01 22:03:22 +00:00
|
|
|
ldeaxysp.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
ldec.o \
|
|
|
|
ldiv.o \
|
|
|
|
le.o \
|
|
|
|
leasp.o \
|
|
|
|
leave.o \
|
|
|
|
leq.o \
|
|
|
|
lge.o \
|
|
|
|
lgt.o \
|
|
|
|
linc.o \
|
|
|
|
lle.o \
|
|
|
|
llt.o \
|
|
|
|
lmod.o \
|
|
|
|
lmul.o \
|
|
|
|
lne.o \
|
|
|
|
lneg.o \
|
|
|
|
lor.o \
|
|
|
|
lpop.o \
|
|
|
|
lpush.o \
|
|
|
|
lrsub.o \
|
|
|
|
lsave.o \
|
|
|
|
lshelp.o \
|
|
|
|
lshl.o \
|
|
|
|
lshr.o \
|
|
|
|
lsub.o \
|
|
|
|
lsubeq.o \
|
|
|
|
lsubeqsp.o \
|
|
|
|
lswap.o \
|
|
|
|
lswitch.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
lt.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
ltest.o \
|
|
|
|
ludiv.o \
|
|
|
|
luge.o \
|
|
|
|
lugt.o \
|
|
|
|
lule.o \
|
|
|
|
lult.o \
|
|
|
|
lumod.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
lxor.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
makebool.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
mod.o \
|
|
|
|
mul.o \
|
|
|
|
ne.o \
|
|
|
|
neg.o \
|
|
|
|
or.o \
|
2000-10-31 18:57:00 +00:00
|
|
|
pleasp.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
popa.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
popsreg.o \
|
2000-10-26 20:43:54 +00:00
|
|
|
push1.o \
|
|
|
|
push2.o \
|
|
|
|
push3.o \
|
|
|
|
push4.o \
|
|
|
|
push5.o \
|
|
|
|
push6.o \
|
|
|
|
push7.o \
|
|
|
|
pusha.o \
|
|
|
|
pushaff.o \
|
|
|
|
pushax.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
pushb.o \
|
|
|
|
pushbsp.o \
|
2000-10-26 20:43:54 +00:00
|
|
|
pushc0.o \
|
|
|
|
pushc1.o \
|
|
|
|
pushc2.o \
|
2000-11-01 22:03:22 +00:00
|
|
|
pushlysp.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
pushw.o \
|
|
|
|
pushwsp.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
return0.o \
|
|
|
|
return1.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
rsub.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
shelp.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
shl.o \
|
|
|
|
shr.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
shrax1.o \
|
|
|
|
shrax2.o \
|
|
|
|
shrax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
shrax4.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
shreax1.o \
|
|
|
|
shreax2.o \
|
|
|
|
shreax3.o \
|
2001-07-25 21:36:01 +00:00
|
|
|
shreax4.o \
|
2000-10-26 06:35:45 +00:00
|
|
|
staspidx.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
staxsp.o \
|
2001-04-04 20:27:33 +00:00
|
|
|
staxspi.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
steaxsp.o \
|
2001-04-02 20:24:24 +00:00
|
|
|
steaxspi.o \
|
2001-03-19 22:26:47 +00:00
|
|
|
stkchk.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
sub.o \
|
|
|
|
subeqsp.o \
|
2000-10-25 19:53:22 +00:00
|
|
|
subysp.o \
|
2000-10-25 07:06:55 +00:00
|
|
|
swap.o \
|
|
|
|
switch.o \
|
|
|
|
test.o \
|
|
|
|
tosint.o \
|
|
|
|
toslong.o \
|
|
|
|
udiv.o \
|
|
|
|
uge.o \
|
|
|
|
ugt.o \
|
|
|
|
ule.o \
|
|
|
|
ult.o \
|
|
|
|
umod.o \
|
|
|
|
xor.o
|
|
|
|
|
|
|
|
all: $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2000-10-25 19:53:22 +00:00
|
|
|
@rm -f *~ $(COBJS:.o=.s) $(OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|