aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-05-24 14:13:48 -0400
committertlatorre <tlatorre@uchicago.edu>2019-05-24 14:13:48 -0400
commitc43bb688c6cfac6cee39612b862d8a909f150493 (patch)
treef8aefea9dc66dedf62f4350f73c032629efafe1b /src/Makefile
parent38a2d79ea9fac199b34653f3f89dc731d5b84b8c (diff)
downloadsddm-c43bb688c6cfac6cee39612b862d8a909f150493.tar.gz
sddm-c43bb688c6cfac6cee39612b862d8a909f150493.tar.bz2
sddm-c43bb688c6cfac6cee39612b862d8a909f150493.zip
add a script to submit jobs to the grid
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index bd77dfb..a0eef06 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,6 +3,10 @@ release_hdr := $(shell sh -c './mkreleasehdr.sh')
CFLAGS=-fdiagnostics-color -O2 -Wall -g -DSWAP_BYTES
LDLIBS=-fdiagnostics-color -lm -lgsl -lgslcblas -lnlopt_cxx -lstdc++
+PREFIX?=$(HOME)/local
+INSTALL_BIN=$(PREFIX)/bin
+INSTALL=install
+
all: test test-vector test-likelihood fit test-charge test-path calculate-csda-range test-time-pdf test-zebra test-find-peaks zdab-cat
Makefile.dep:
@@ -36,6 +40,10 @@ calculate-csda-range: calculate-csda-range.o
zdab-cat: zdab-cat.o zebra.o pmt.o vector.o misc.o zdab_utils.o pack2b.o db.o dqxx.o dict.o siphash.o release.o dc.o sort.o util.o
+install:
+ @mkdir -p $(INSTALL_BIN)
+ $(INSTALL) fit $(INSTALL_BIN)
+
clean:
rm -f *.o calculate_limits test test-vector test-likelihood fit test-charge test-path calculate-csda-range test-time-pdf test-zebra test-find-peaks Makefile.dep zdab-cat