#
# Makefile_defs_linux
#
# Definitions which work for a Red Hat linux system.
#
# Always run make ARCH=platform from the top-level savi directory.
#
# $Id: Makefile_defs_linux,v 1.6 2006/07/18 21:04:21 lloydwood Exp $


########################################################
#                                                      #
# Set machine type -- suffix for savi                  #
#                                                      #
########################################################
MACH = linux

########################################################
#                                                      #
# set CC to an ANSI C compiler                         #
#                                                      #
########################################################
CC = gcc

########################################################
#                                                      #
# set TCL_INCLUDES so that the compiler can            #
# find the tcl.h and tk.h                              #
#                                                      #
# If tcl/tk is installed in a standard place           #
# it is not necessary to set this. You may need to     #              
# change the numbers to match your version of tcl/tk.  #
# The numbers in the topmost savi script should also   #
# match.                                               #
#                                                      #
########################################################
# TCL_INCLUDES = -I/usr/include/tcl8.4

########################################################
#                                                      #
# set TCL_LIBS so that the compiler can find           #
# libtcl.a and libtk.a. Alter to suit - see above.     #
#                                                      #
########################################################
# Debian requires a dot here: -ltcl8.4 -ltk8.4
# So Debian gets its own Makefile: make ARCH=debian

TCL_LIBS = -ltcl84 -ltk84

########################################################
#                                                      #
# Set OTHER_LIBS so that any other stuff needing to    #
# be linked in will be!                                #
#                                                      #
########################################################
OTHER_LIBS = -ldl
# OTHER_LIBS = -static

