
#
# Common defines for MH debugcard makefiles.
MHDEPTH     =   $(DEBUGCARD)/..
DTOOLS      =   $(DEBUGCARD)/tools
IP32FW      =   $(MHDEPTH)/images
include     $(MHDEPTH)/mhcommondefs

#
# Define CCFLAGS, ASFLAGS, and ...
# CMPLRSHOME  =   /hosts/stumpjumper.mti/home/linth/workarea/v6.2/targucode/relbin
# CMPLRSHOME  =   /disk4/mips32bugfix
# MIPS3BUGFIX =   -taobc -h$(CMPLRSHOME) -B -Waobcf,-mips3 -32
INCLUDES    =   -I. -I$(DEBUGCARD)/include -I$(MHDEPTH)/include -I$(ROOT)/usr/include
LDOBJFLAGS  =   -v -rom -G 0 -N -T bfe00000
MIPS3BUGFIX =   -mips3 -32
LDRFLAGS    =   -r -nostdlib
ASFLAGS     =   -nostdinc $(MIPS3BUGFIX) -G 0 -DIP32 -D_PAGESZ=4096 -MDupdate $(MKDEPFILE)
CCFLAGS     =   -nostdinc $(MIPS3BUGFIX) -G 0 -DIP32 -D_PAGESZ=4096 -MDupdate $(MKDEPFILE)

#
# Defined some local unix commands which are not get defined anywhere
CD          =   cd
CONVERT     =   $(MHDEPTH)/../tools/convert/convert -Z -f s3rec
IMG2ASM     =   $(DTOOLS)/img2asm
RM          =   rm -f
TOUCH       =   touch
