-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.mk
60 lines (44 loc) · 1.74 KB
/
project.mk
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
################################################################
# project name
################################################################
# This name is used for the distribution tar file.
project_name := chime
install_prefix := $(install_prefix)/chime
################################################################
# modules -- list of directories in which to search
# for module.mk include files
################################################################
# Caution: The order in which modules are declares is important, since
# it is also used in linking. The object/library file for the
# *caller* must precede the object/library file for the *callee* for
# successful linking.
################
# programs
################
modules += programs
# legacy programs -- DEPRECATED
##modules += programs/h2utils_legacy
################
# libraries
################
# modules += libraries/relcm # ordering note: relcm depends on all the others
modules += libraries/basis # ordering note: basis depends on am and mcutils
modules += libraries/am libraries/mcutils
modules += libraries/basis_func libraries/quadpp
################################################################
# extras -- list of extra files to be included
# in distribution tar file
################################################################
extras :=
################################################################
# additional project-specific make settings and rules
################################################################
# gsl
LDLIBS += -lgsl
LDLIBS += -lgslcblas
CPPFLAGS += -DHAVE_INLINE
# compile git information into executables
CPPFLAGS += -D'VCS_REVISION="$(vcs-git)"'
# basis submodule
# map vs. hash for space lookup in basis library
CPPFLAGS += -DBASIS_HASH