# Make file for CVM-REVA 
# Digital Designs and Systems, Inc.  
# Chris Barnhart ceb@ai.mit.edu 5-5-95

# Path to C30/C40 compilers
TIPATH = j:\bin

#path to the CVM Operating system - NEOS
OS_INC = j:\cvmvis\neos

# path to the CVM VISION library
LIB_INC = j:\cvmvis\cvmvis

# PATH to TI run time support libary
RTS_INC = j:\bin



AR = $(TIPATH)\ar30
CC = $(TIPATH)\cl30
LNK = $(TIPATH)\lnk30
ASM = $(TIPATH)\asm30
HEX = $(TIPATH)\hex30

# C compiler options
CCFLAGS =  -s -k -q -o -i$(OS_INC) -i$(RTS_INC) -i$(LIB_INC) -al -dCVMREVA -mi


all: example1.i0 example2.i0 example3.i0 example4.i0 example5.i0

example1.out : example1.obj
   $(LNK) example1.cmd

.c.obj:
   echo Compiling $<
   $(CC) $(CCFLAGS) $<

.out.i0:
   echo Translating $< to $@
   $(HEX) -i -romwidth 32 $<
