Makevars 763 Bytes
Newer Older
1
DEFINES=-DSPELL_PEDIGREE_MAIN=spell_pedigree -DSPELL_BAYES_MAIN=spell_marker -DSPELL_UNSAFE_OUTPUT
2
3
4

CXX_STD=CXX14

5
6
CXX14STD="-std=c++14"

Damien Leroux's avatar
WIP.    
Damien Leroux committed
7
GCC_ARGS=-I . -I ./include -I ./include/RWrap -I ./include/eigen3 -I ./include/bayes -I ./include/input -pthread $(DEFINES) -DEIGEN_NO_DEBUG -O3
8
9
10
11
12
13
14
15

PKG_CXX14FLAGS=$(GCC_ARGS)
PKG_CXXFLAGS=$(GCC_ARGS)
PKG_CFLAGS=$(GCC_ARGS)
CXX14FLAGS=$(GCC_ARGS)
CXXFLAGS=$(GCC_ARGS)
CFLAGS=$(GCC_ARGS)
PKG_LIBS=-lgmp -pthread
16
17
#-lboost_system -lboost_filesystem
LD=g++
18
19
20
21
22

TARGET=spellmaptools

SRC_SRC=static_data.cc \
        bayes/main.cc bayes/cli.cc bayes/jobs.cc bayes/dispatch.cc \
23
        pedigree/cli.cc pedigree/main.cc \
24
25
26
27
28
29
30
        input/read_mark.cc
        
DOT_SRC=$(TARGET).cc

ALL_SRC=$(DOT_SRC) $(SRC_SRC)

OBJECTS=$(ALL_SRC:.cc=.o)