#
# reads --- A test program to verify if reading from a C6x work properly.
#           Implemented through the Hunt Engineering API
#
# This program is
#
#                     Copyright (C) 1999 by HUNT ENGINEERING
#
# This program is free software, and you are welcome to redistribute it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option) 
# any later version.
#
# The program is distributed in the hope that it will be useful and work with
# your system's configuration. The driver was originally developed for use
# with the HUNT ENGINEERING API, and has been tested only for that purpose.
#
# Due to the fact that the program is free, it is provided WITHOUT ANY 
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. Please see the GNU General Public License (GPL)
# for details. You should have received a copy of the GPL with this package;
# if not, write to the Free Software Foundation, Inc., 675 Mass Ave., 
# Cambride, MA 02139, USA
#
# Please report bugs or suggestions to support@hunteng.demon.co.uk
#
# The development of this program was based upon the following
# information:
#
# o Hunt Engineering: HECP8 4-slot HERON Motherboard: USER MANUAL
#   Hardware Rev A, Document Rev B, P.Warnes, 8/10/99. (available
#   via http://www.hunteng.co.uk, and is on the CD: manuals directory).
# 
# o Hunt Engineering: Hunt Engineering API for PC hosts, Description and
#   Reference, Document Rev A, API software Rev 1.5, P.Warnes 14/12/1999
#   (available via http://www.hunteng.co.uk, and is on the CD: \manuals
#   directory).
#
# WARNING: this program has been tested only with Redhat Linux 6.1, with a
# kernel version of 2.2.12-20 with a P100 Pentium PC. However, as the source
# code should be platform independent, it should run on little-endian machines
# without much trouble. 
#
# HUNT ENGINEERING, Dec 14, 1999.
#

GPP=g++
CFLAGS=-O2 -Wall -D_LINUX=1 -DCMDLINE=1

###############################################

mysl: mysl.o
	$(GPP) $(CFLAGS) mysl.o -o mysl /usr/local/lib/libhel.so /usr/lib/librt.so

mysl.o: ../mysl.cpp
	$(GPP) $(CFLAGS) -c ../mysl.cpp -o mysl.o

clean:
	rm -f *.o *~ core

