forked from gandalfcode/gandalf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
86 lines (65 loc) · 2.48 KB
/
Makefile
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#==================================================================================================
# GANDALF v0.4.0 Makefile frontend
#
# This file is part of GANDALF :
# Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids
# https://github.com/gandalfcode/gandalf
# Contact : gandalfcode@gmail.com
#
# Copyright (C) 2013 D. A. Hubber, G. Rosotti
#
# GANDALF is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# GANDALF is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License (http://www.gnu.org/licenses) for more details.
#==================================================================================================
CPP =
PYTHON = python
COMPILER_MODE = DEBUG
PRECISION = DOUBLE
OPENMP = 1
OUTPUT_LEVEL = 1
DEBUG_LEVEL = 0
BUILD_DEPENDENCIES = 0
# FFTW libary flags and paths. If paths are empty, tries standard default linux paths.
#--------------------------------------------------------------------------------------------------
FFTW = 0
FFTW_INCLUDE =
FFTW_LIBRARY =
# GNU Scientific library flags and paths. If paths are empty, tries standard default linux paths.
#--------------------------------------------------------------------------------------------------
GSL = 0
GSL_INCLUDE =
GSL_LIBRARY =
# Select location of python and numpy libraries. If blank, make will try to
# find the location of the libraries automatically using installed python
# utilities. If you have multiple versions of python installed on your
# computer, then select the prefered version with the PYTHON variable above.
#--------------------------------------------------------------------------------------------------
PYLIB =
NUMPY =
GTEST = $(GTEST_DIR)
# Don't delete this command! Makes sure that defined variables here are passed
# to the others make
export
gandalf:
@+$(MAKE) -C src
all:
@+$(MAKE) -C src
executable:
@+$(MAKE) executable -C src
unittests:
@+$(MAKE) unittests -C src
clean:
@+$(MAKE) clean -C src
depends:
@+$(MAKE) depends -C src
installpython:
./setup.py install
install:
cp bin/gandalf /usr/local/bin