Skip to content

Instantly share code, notes, and snippets.

@danmichaelo
Created January 24, 2012 17:54
Show Gist options
  • Select an option

  • Save danmichaelo/1671518 to your computer and use it in GitHub Desktop.

Select an option

Save danmichaelo/1671518 to your computer and use it in GitHub Desktop.
Make.sys for XCrySDen-1.5.24-src on Mac OS X 10.7
MAKE = make
REM CC = /opt/local/bin/gcc-mp-4.5
#Need the have-no-getline
CFLAGS = -O2 -m64 -L/opt/local/lib
MATH = -lm
FC = /opt/local/bin/gfortran-mp-4.5
FFLAGS = -O2 -m64 -L/opt/local/lib
#DMW: See notes for CFLAGS above
#X
#port libs
X_LIB = -L/opt/local/lib -lXmu -lX11 -lXext
X_INCDIR = -I/opt/local/include
# If you want to use your own libraries and include files,
# then set *_LIB and *_INCDIR variables below accordingly:
#
#------------------------------------------------------------------------
COMPILE_TCLTK = no
COMPILE_MESA = no
#
# Libraries
#
TK_LIB = -L/opt/local/lib -ltk8.5
TCL_LIB = -L/opt/local/lib -ltcl8.5
GLU_LIB = -L/opt/local/lib -lGLU
GL_LIB = -L/opt/local/lib -lGL
#DMW additions
MESCHACH_LIB = -L/opt/local/lib -lmeschach
FFTW3_LIB = -L/opt/local/lib -lfftw3
LDLIB = -L/opt/local/lib
#
# Include directories
#
#blank fine
TCL_INCDIR =
TK_INCDIR =
GL_INCDIR =
#DMW additions
MESCHACH_INCDIR = -I/opt/local/include/meschach
FFTW3_INCDIR = -I/opt/local/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment