# makedefs variant for Zortech C++ V3.1
#
# RCS $Revision: 1.3 $
# Checkin $Date: 93/12/15 17:54:02 $
# Revising $Author: irickard $
#
# Set PCSZ to 32 or 26, as appropriate
# Set ENDIAN to b or l as required.
# Set FPIS (FP Instruction Set) to 2 or 3 as appropriate
# Set LDMLIMIT to the maximum number of registers to be allowed in a LDM or STM
PCSZ=26
ENDIAN=l
FPIS=2
LDMLIMIT=16

# set ARMTOOLS if the ARM tools are not available on your PATH
# NB: Leave a trailing directory separator at the end
ARMTOOLS=

CC=$(ARMTOOLS)armcc
LD=$(ARMTOOLS)armlink
AS=$(ARMTOOLS)armasm
ARMLIB=$(ARMTOOLS)armlib

MKTMP=mktmp
RM=del
RENAME=rename
APPEND=type
MAKEMAKE=..\util\makemake
DEPLIST=deplist
BAKFILE=MakeFBak
CP=copy

CFLAGS=-$(ENDIAN)i -ffah -apcs 3/$(PCSZ)bit/fpe$(FPIS) -zr$(LDMLIMIT) -c -J..\..\include -I..,..\ros_src -DHOSTSEX_$(ENDIAN) -D__riscos -D__acorn $(CFL)
DCFLAGS=$(CFLAGS) -M
AFLAGS=-$(ENDIAN)i -apcs 3/$(PCSZ)bit -PD 'FPIS SETA $(FPIS)' -PD 'LDM_MAX SETA $(LDMLIMIT)' -I..,..\ros_src
DAFLAGS=$(AFLAGS) -D $(MKTMP)

FPE=fpe_$(PCSZ)$(ENDIAN)

#.SILENT:
