 #
 # RHexLib, 
 #
 # Copyright (c) 2001 The University of Michigan, its Regents,
 # Fellows, Employees and Agents. All rights reserved, and distributed as
 # free software under the following license.
 # 
 #  Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions are
 # met:
 # 
 # 1) Redistributions of source code must retain the above copyright
 # notice, this list of conditions, the following disclaimer and the
 # file called "CREDITS" which accompanies this distribution.
 # 
 # 2) Redistributions in binary form must reproduce the above copyright
 # notice, this list of conditions, the following disclaimer and the file
 # called "CREDITS" which accompanies this distribution in the
 # documentation and/or other materials provided with the distribution.
 # 
 # 3) Neither the name of the University of Michigan, Ann Arbor or the
 # names of its contributors may be used to endorse or promote products
 # derived from this software without specific prior written permission.
 # 
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 ######################################################################
 # $Id: Makefile,v 1.1 2004/08/28 00:12:09 dsantos Exp $
 #
 # Sample Makefile for compiling RHexLib executables
 #
 # Created       : Uluc Saranli, 11/16/2000
 # Last Modified : Uluc Saranli, 06/27/2001
 #
 ######################################################################

UNAME = $(shell uname)

###########################################################
# You will need to modify the following section           #
###########################################################

# This line defines the name of the executables. Note that we assume
# the presence of an associated .cc file as well.
EXEC = contact

# This line specifies all the other source files that need to be
# compiled and linked together with the executable
SOURCES = 

# This line specifies any additional flags that you want to feed the
# compiler. It is usually used to specify additional include
# directories through -I and additional link directories through -L
AUXFLAGS = \
	-I$(LIBUTILS_DIR)/include -L$(LIBUTILS_DIR) \
	-I$(ARACHI_DIR)/include -L$(ARACHI_DIR)/lib \
	-I$(SIMLIB_DIR)/include -L$(SIMLIB_DIR)/lib \
	-L/usr/X11R6/lib

# This line specifies any additional libraries that you want to link
# your executable against. Note that you MUST specify the full path of
# the library in question.
AUXLIBS = \
	$(SIMLIB_DIR)/lib/libsimrti.a \
	$(SIMLIB_DIR)/lib/libsimpcm.a \
	$(SIMLIB_DIR)/lib/libsimcdl.a \
	$(SIMLIB_DIR)/lib/libsimpcm.a \
	$(SIMLIB_DIR)/lib/libsimrti.a \
	$(SIMLIB_DIR)/lib/libsimgraphics.a \
	$(LIBUTILS_DIR)/libutils.a \
	$(ARACHI_DIR)/lib/libarachi.a \
	/usr/X11R6/lib/libX11.a \
	/usr/X11R6/lib/libXi.a \
	/usr/X11R6/lib/libXext.a \
	/usr/X11R6/lib/libXmu.a

#################################################
# The rest of this file should not be modified  #
#################################################

ifndef SIMLIB_DIR
$(error SIMLIB_DIR environment variable is not defined!)
endif

everything: all

# Standard targets
include $(SIMLIB_DIR)/tools/tooldefs.mk
include $(SIMLIB_DIR)/tools/bintargets.mk

