# PC makefile TOOLDIR = m:/tools/metaware/bin # MetaWare compiler tools directory CC = $(TOOLDIR)/hcppc -Hnocopyr -c -Hsds -DDINKR12 -I./$(@D) AS = $(TOOLDIR)/asppc -c -big_si LKOPT = -Bbase=0x90000 -xm -Bnoheader -Bhardalign \ -xo=$(@) -q -Qn -Cglobals -Csections -Csymbols -Ccrossref LINK = $(TOOLDIR)/ldppc $(LKOPT) > $(@D)/xref.txt PREP = $(CC) -P -Hasmcpp matmult.src: matmult.s $(PREP) matmult.s $(AS) matmult.i -o matmult.o $(LINK) -e matmult matmult.o -o matmult clean: rm -f *.o *.i matmult *.src xref.txt