forked from kmsmith137/ch_vdif_assembler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.local.example
24 lines (19 loc) · 1.06 KB
/
Makefile.local.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Directory where executables will be installed (run-vdif-assembler, show-moose-acqusitions.py)
BINDIR=$(HOME)/bin
# Directory where C++ libraries will be installed (e.g. libch_vdif_assembler.so)
LIBDIR=$(HOME)/lib
# Directory where C++ header files will be installed (e.g. ch_vdif_assembler.hpp)
INCDIR=$(HOME)/include
# Directory where Python modules will be installed
PYDIR=$(HOME)/lib/python2.7/site-packages
# Read-only location of python header files, needed for cython (you'll probably need to substitute the path to your python installation, e.g. /usr/include/python2.7)
PYTHON_INCDIR=$(HOME)/include/python2.7
#
# C++ command line
# Must support c++0x
# Don't forget to put -L. and -L$(LIBDIR) on the command line (in this order)
# Don't forget to add . and $(LIBDIR) in your LD_LIBRARY_PATH environment variable (in this order)
# Don't forget to add $(PYDIR) to your PYTHONPATH environment variable
# Don't forget -fPIC and -lpthread!
#
CPP=g++ -O3 -march=native -std=c++0x -Wall -ffast-math -funroll-loops -fPIC -I$(INCDIR) -I$(PYTHON_INCDIR) -L. -L$(LIBDIR) -lpthread