aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-20 12:26:17 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-20 12:26:17 +0800
commit4ea7a05ea9a7352602f1f48a860fd81c36e8bc04 (patch)
treebeab7ec18d48c3e2093cd35fd8c79bd66f604a03
parent9cec16d87f6dc2e0b34b605d88d0837a4a48d18c (diff)
downloadchandra-acis-analysis-4ea7a05ea9a7352602f1f48a860fd81c36e8bc04.tar.bz2
Rename mass_profile to src; Add install & uninstall to Makefile
-rw-r--r--src/Makefile (renamed from mass_profile/Makefile)12
-rw-r--r--src/README.md (renamed from mass_profile/README.md)0
-rw-r--r--src/beta.hpp (renamed from mass_profile/beta.hpp)0
-rw-r--r--src/beta_cfg.cpp (renamed from mass_profile/beta_cfg.cpp)0
-rw-r--r--src/beta_cfg.hpp (renamed from mass_profile/beta_cfg.hpp)0
-rw-r--r--src/calc_lx_beta.cpp (renamed from mass_profile/calc_lx_beta.cpp)0
-rw-r--r--src/calc_lx_dbeta.cpp (renamed from mass_profile/calc_lx_dbeta.cpp)0
-rw-r--r--src/chisq.hpp (renamed from mass_profile/chisq.hpp)0
-rw-r--r--src/dbeta.hpp (renamed from mass_profile/dbeta.hpp)0
-rw-r--r--src/dump_fit_qdp.cpp (renamed from mass_profile/dump_fit_qdp.cpp)0
-rw-r--r--src/dump_fit_qdp.hpp (renamed from mass_profile/dump_fit_qdp.hpp)0
-rw-r--r--src/fit_beta_sbp.cpp (renamed from mass_profile/fit_beta_sbp.cpp)0
-rw-r--r--src/fit_dbeta_sbp.cpp (renamed from mass_profile/fit_dbeta_sbp.cpp)0
-rw-r--r--src/fit_nfw_mass.cpp (renamed from mass_profile/fit_nfw_mass.cpp)0
-rw-r--r--src/fit_wang2012_model.cpp (renamed from mass_profile/fit_wang2012_model.cpp)0
-rw-r--r--src/nfw.hpp (renamed from mass_profile/nfw.hpp)0
-rw-r--r--src/projector.hpp (renamed from mass_profile/projector.hpp)0
-rw-r--r--src/report_error.cpp (renamed from mass_profile/report_error.cpp)0
-rw-r--r--src/report_error.hpp (renamed from mass_profile/report_error.hpp)0
-rw-r--r--src/spline.hpp (renamed from mass_profile/spline.hpp)0
-rw-r--r--src/vchisq.hpp (renamed from mass_profile/vchisq.hpp)0
-rw-r--r--src/wang2012_model.hpp (renamed from mass_profile/wang2012_model.hpp)0
22 files changed, 12 insertions, 0 deletions
diff --git a/mass_profile/Makefile b/src/Makefile
index 17b7a0e..76ddeaa 100644
--- a/mass_profile/Makefile
+++ b/src/Makefile
@@ -84,3 +84,15 @@ dump_fit_qdp.o: dump_fit_qdp.cpp dump_fit_qdp.hpp
clean:
rm -f *.o $(TARGETS)
+
+
+install: $(TARGETS)
+ @for f in $(TARGETS); do \
+ (cd ../bin && ln -svf ../src/$$f . ); \
+ done
+
+
+uninstall:
+ @for f in $(TARGETS); do \
+ rm -fv ../bin/$$f; \
+ done
diff --git a/mass_profile/README.md b/src/README.md
index 0c61821..0c61821 100644
--- a/mass_profile/README.md
+++ b/src/README.md
diff --git a/mass_profile/beta.hpp b/src/beta.hpp
index 6ae70ac..6ae70ac 100644
--- a/mass_profile/beta.hpp
+++ b/src/beta.hpp
diff --git a/mass_profile/beta_cfg.cpp b/src/beta_cfg.cpp
index c373688..c373688 100644
--- a/mass_profile/beta_cfg.cpp
+++ b/src/beta_cfg.cpp
diff --git a/mass_profile/beta_cfg.hpp b/src/beta_cfg.hpp
index 27148df..27148df 100644
--- a/mass_profile/beta_cfg.hpp
+++ b/src/beta_cfg.hpp
diff --git a/mass_profile/calc_lx_beta.cpp b/src/calc_lx_beta.cpp
index 11d7b04..11d7b04 100644
--- a/mass_profile/calc_lx_beta.cpp
+++ b/src/calc_lx_beta.cpp
diff --git a/mass_profile/calc_lx_dbeta.cpp b/src/calc_lx_dbeta.cpp
index 31addeb..31addeb 100644
--- a/mass_profile/calc_lx_dbeta.cpp
+++ b/src/calc_lx_dbeta.cpp
diff --git a/mass_profile/chisq.hpp b/src/chisq.hpp
index 0e58200..0e58200 100644
--- a/mass_profile/chisq.hpp
+++ b/src/chisq.hpp
diff --git a/mass_profile/dbeta.hpp b/src/dbeta.hpp
index 7246b44..7246b44 100644
--- a/mass_profile/dbeta.hpp
+++ b/src/dbeta.hpp
diff --git a/mass_profile/dump_fit_qdp.cpp b/src/dump_fit_qdp.cpp
index 85307d1..85307d1 100644
--- a/mass_profile/dump_fit_qdp.cpp
+++ b/src/dump_fit_qdp.cpp
diff --git a/mass_profile/dump_fit_qdp.hpp b/src/dump_fit_qdp.hpp
index 8364dfd..8364dfd 100644
--- a/mass_profile/dump_fit_qdp.hpp
+++ b/src/dump_fit_qdp.hpp
diff --git a/mass_profile/fit_beta_sbp.cpp b/src/fit_beta_sbp.cpp
index 295fa1e..295fa1e 100644
--- a/mass_profile/fit_beta_sbp.cpp
+++ b/src/fit_beta_sbp.cpp
diff --git a/mass_profile/fit_dbeta_sbp.cpp b/src/fit_dbeta_sbp.cpp
index 71b3089..71b3089 100644
--- a/mass_profile/fit_dbeta_sbp.cpp
+++ b/src/fit_dbeta_sbp.cpp
diff --git a/mass_profile/fit_nfw_mass.cpp b/src/fit_nfw_mass.cpp
index fae74ef..fae74ef 100644
--- a/mass_profile/fit_nfw_mass.cpp
+++ b/src/fit_nfw_mass.cpp
diff --git a/mass_profile/fit_wang2012_model.cpp b/src/fit_wang2012_model.cpp
index f15a2b1..f15a2b1 100644
--- a/mass_profile/fit_wang2012_model.cpp
+++ b/src/fit_wang2012_model.cpp
diff --git a/mass_profile/nfw.hpp b/src/nfw.hpp
index 8e3e59e..8e3e59e 100644
--- a/mass_profile/nfw.hpp
+++ b/src/nfw.hpp
diff --git a/mass_profile/projector.hpp b/src/projector.hpp
index 4ef4b32..4ef4b32 100644
--- a/mass_profile/projector.hpp
+++ b/src/projector.hpp
diff --git a/mass_profile/report_error.cpp b/src/report_error.cpp
index 23e6a26..23e6a26 100644
--- a/mass_profile/report_error.cpp
+++ b/src/report_error.cpp
diff --git a/mass_profile/report_error.hpp b/src/report_error.hpp
index 30607e5..30607e5 100644
--- a/mass_profile/report_error.hpp
+++ b/src/report_error.hpp
diff --git a/mass_profile/spline.hpp b/src/spline.hpp
index 1027b61..1027b61 100644
--- a/mass_profile/spline.hpp
+++ b/src/spline.hpp
diff --git a/mass_profile/vchisq.hpp b/src/vchisq.hpp
index 8cd8481..8cd8481 100644
--- a/mass_profile/vchisq.hpp
+++ b/src/vchisq.hpp
diff --git a/mass_profile/wang2012_model.hpp b/src/wang2012_model.hpp
index c678970..c678970 100644
--- a/mass_profile/wang2012_model.hpp
+++ b/src/wang2012_model.hpp