#
# testint --- A test program to verify if interrupts 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 driver 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)
# 
# o Hunt Engineering: Hunt Engineering API for PC hosts, Description
#   and Reference, Document Rev A, API software Rev 1.5, P.Warnes 22-12-99
#
# 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. The software will only
# work with a HEPC8 board. The program should compile/link/run on all small-
# endian platforms.
#
# HUNT ENGINEERING, Dec 14, 1999.
#

CC=gcc
CFLAGS=-O2 -Wall -D_LINUX=1 -DCMDLINE=1

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

testint: ../testint.c
	$(CC) $(CFLAGS) ../testint.c -o testint /usr/local/lib/libhel.so /usr/lib/librt.so

clean:
	rm -f *.o *~ core

