aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-06-08 10:25:51 +0800
committerAaron LI <aaronly.me@gmail.com>2016-06-08 10:25:51 +0800
commit713cb27cab4de6f3fd343ae37a04f54138423b53 (patch)
tree51ca1c1a3a484bad6a9c6a978e3e4d22a84a8bcf
parentcc3c797356373661522a3823ec2016e8bf252710 (diff)
downloadchandra-acis-analysis-713cb27cab4de6f3fd343ae37a04f54138423b53.tar.bz2
mass_profile/Makefile: add flag OPENMP
-rw-r--r--mass_profile/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mass_profile/Makefile b/mass_profile/Makefile
index 552a7de..b9b6136 100644
--- a/mass_profile/Makefile
+++ b/mass_profile/Makefile
@@ -11,6 +11,10 @@ CXX ?= g++
#CXXFLAGS += -Wall -Werror
CXXFLAGS += -Wall
+ifdef OPENMP
+ CXXFLAGS += -fopenmp
+endif
+
ifdef DEBUG
CXXFLAGS += -g
else
@@ -33,14 +37,14 @@ pgplot: libcpgplot.a libpgplot.a
libcpgplot.a:
ifdef HEADAS
- ln -sv $(HEADAS)/lib/libcpgplot*.a ./$@
+ ln -s $(HEADAS)/lib/libcpgplot*.a ./$@
else
$(error HEASoft not initialized)
endif
libpgplot.a:
ifdef HEADAS
- ln -sv $(HEADAS)/lib/libpgplot*.a ./$@
+ ln -s $(HEADAS)/lib/libpgplot*.a ./$@
else
$(error HEASoft not initialized)
endif