#
# Makefile_defs_cygwin
# Definitions which work for a Windows/cygwin system:
# http://www.cygwin.com/
# A conventional unix port of Tcl/Tk 8.5 replaced Cygwin's Insight Tcl/Tk 8.4
# in October 2011 - the older cygwin84 Makefile.
#
# Always run make ARCH=platform from the top-level savi directory.
#
# Cygwin needs to have installed from Setup:
#  under Devel:
#   binutils
#   gcc-core and its dependencies
#   make
#   zlib-devel (optional, requires editing flag in src/Makefile)
#  under Libs:
#   tcltk
#  under X11:
#   libX11-devel and its dependencies (lets Tcl/Tk files compile)
#
# X11 binaries are only needed if Geomview is installed. See:
# http://personal.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/building-under-Windows/
#
# $Id: Makefile_defs_cygwin,v 1.10 2013/07/09 04:44:28 lloydwood Exp $


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

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

# override line terminator for version.c creation
LINEEND =

########################################################
#                                                      #
# 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.                                               #
#                                                      #
########################################################

########################################################
#                                                      #
# set TCL_LIBS so that the compiler can find           #
# libtcl.a and libtk.a. Alter to suit - see above.     #
#                                                      #
########################################################
TCL_LIBS = -ltk -ltcl

########################################################
#                                                      #
# Set OTHER_LIBS so that any other stuff needing to    #
# be linked in will be!                                #
#                                                      #
########################################################
# -lz is for gzip compression library http://www.zlib.net/
# used for compressing textures to Geomview.

OTHER_LIBS = -lz

# OTHER_LIBS = -static
# -ldl
