-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.osx
55 lines (41 loc) · 1.61 KB
/
config.osx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*-Makefile-*-
CC = gcc
# the C99 flags
C99_FLAGS = -std=c99
# how to launch the C99 compiler
CC99 = $(CC) $(C99_FLAGS) -Wno-unused-result -Wno-unused-function
# how to strip unused code
# STRIPFLAGS = -fdata-sections -ffunction-sections -Wl,--gc-sections -w
# other useful (non-standard) flags
CFLAGS += -g -Wall -Wno-unused-function -pipe -I/opt/local/include
# if you have valgrind, otherwise comment this out
# VALGRIND = valgrind -q --tool=memcheck \
# --suppressions=$(BASILISK)/openmpi.supp \
# --leak-check=full
# if gnuplot supports pngcairo, otherwise comment this out
PNG = pngcairo
# Awk
AWK = awk
# If you have managed to make gdb work (congratulations!), uncomment this
# GDB = gdb
# if you don't have md5sum, replace it with something equivalent
GENSUM = shasum
CHECKSUM = shasum -c --status
# OpenGL libraries
# This is the "dumb" OpenGL implementation and needs to be replaced by
# the implementations below (fb_osmesa or fb_glx) if you want
# to use online visualisation with view.h. In this case, the following
# two lines must be commented out. See [INSTALL#visualisation]() for details.
OPENGLIBS = -lfb_tiny
# OPENGLIBS = -lfb_glx -lGLEW -lGL -lX11
# OPENGLIBS = -L/opt/local/lib/ -lfb_osmesa -lOSMesa
# OPENGLIBS = -lfb_glx -lGLU -lGLEW -lGL -lX11
# OPENGLIBS = -L/opt/local/lib/ -lfb_osmesa -lGLU -lOSMesa
# Compiler and libraries to use with CADNA.
# See [README.cadna]() for more documentation.
CADNACC = clang -D_CADNA=1 -x c++ -m64 \
-Wno-unused-function \
-Wno-unused-result \
-Wno-c++11-compat-deprecated-writable-strings \
-Wno-address-of-array-temporary
CADNALIBS = -lcadnaC -lstdc++