mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
dd0ddc94e3
git-svn-id: svn://svn.cc65.org/cc65/trunk@393 b7a2c559-68d2-44c3-8de9-860c34a00d81
165 lines
2.7 KiB
Makefile
165 lines
2.7 KiB
Makefile
#
|
|
# makefile for CC65 runtime library
|
|
#
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
.c.s:
|
|
@echo $<
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
.s.o:
|
|
@echo $<
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
OBJS = add.o \
|
|
addeqsp.o \
|
|
addysp.o \
|
|
and.o \
|
|
aslax1.o \
|
|
aslax2.o \
|
|
aslax3.o \
|
|
asleax1.o \
|
|
asleax2.o \
|
|
asleax3.o \
|
|
asrax1.o \
|
|
asrax2.o \
|
|
asrax3.o \
|
|
asreax1.o \
|
|
asreax2.o \
|
|
asreax3.o \
|
|
axlong.o \
|
|
bneg.o \
|
|
bpushbsp.o \
|
|
call.o \
|
|
compl.o \
|
|
dec.o \
|
|
decsp1.o \
|
|
decsp2.o \
|
|
decsp3.o \
|
|
decsp4.o \
|
|
decsp5.o \
|
|
decsp6.o \
|
|
decsp7.o \
|
|
decsp8.o \
|
|
div.o \
|
|
enter.o \
|
|
eq.o \
|
|
ge.o \
|
|
gt.o \
|
|
icmp.o \
|
|
inc.o \
|
|
incsp1.o \
|
|
incsp2.o \
|
|
incsp3.o \
|
|
incsp4.o \
|
|
incsp5.o \
|
|
incsp6.o \
|
|
incsp7.o \
|
|
incsp8.o \
|
|
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 \
|
|
ldeax.o \
|
|
ldeaxi.o \
|
|
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 \
|
|
lruntime.o \
|
|
lsave.o \
|
|
lshelp.o \
|
|
lshl.o \
|
|
lshr.o \
|
|
lsub.o \
|
|
lsubeq.o \
|
|
lsubeqsp.o \
|
|
lswap.o \
|
|
lswitch.o \
|
|
lt.o \
|
|
ltest.o \
|
|
ludiv.o \
|
|
luge.o \
|
|
lugt.o \
|
|
lule.o \
|
|
lult.o \
|
|
lumod.o \
|
|
lxor.o \
|
|
makebool.o \
|
|
mod.o \
|
|
mul.o \
|
|
ne.o \
|
|
neg.o \
|
|
or.o \
|
|
popa.o \
|
|
popsreg.o \
|
|
push.o \
|
|
pushb.o \
|
|
pushbsp.o \
|
|
pushw.o \
|
|
pushwsp.o \
|
|
return0.o \
|
|
return1.o \
|
|
rsub.o \
|
|
runtime.o \
|
|
shelp.o \
|
|
shl.o \
|
|
shr.o \
|
|
shrax1.o \
|
|
shrax2.o \
|
|
shrax3.o \
|
|
shreax1.o \
|
|
shreax2.o \
|
|
shreax3.o \
|
|
staspp.o \
|
|
staxsp.o \
|
|
staxspp.o \
|
|
steaxsp.o \
|
|
sub.o \
|
|
subeqsp.o \
|
|
subysp.o \
|
|
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)
|
|
|
|
clean:
|
|
@rm -f *~ $(COBJS:.o=.s) $(OBJS)
|
|
|
|
|