aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-08-14 10:08:27 -0500
committertlatorre <tlatorre@uchicago.edu>2018-08-14 10:08:27 -0500
commit24c8bcfe7f76b20124e2862ea050f815c0f768e7 (patch)
treee5bdbd638a2c7f38f1c094cc9e95cbdfe05b9481 /src/Makefile
parent0b7f199c0d93074484ea580504485a32dc29f5e2 (diff)
downloadsddm-24c8bcfe7f76b20124e2862ea050f815c0f768e7.tar.gz
sddm-24c8bcfe7f76b20124e2862ea050f815c0f768e7.tar.bz2
sddm-24c8bcfe7f76b20124e2862ea050f815c0f768e7.zip
move everything to src directory
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..2359e66
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,30 @@
+CFLAGS=-O0 -Wall -g -DSWAP_BYTES
+LDLIBS=-lm -lgsl -lgslcblas
+
+all: test test-vector test-likelihood fit test-charge
+
+Makefile.dep:
+ -$(CC) -MM *.c > Makefile.dep
+
+-include Makefile.dep
+
+calculate_limits: calculate_limits.c
+
+solid_angle.o: solid_angle.c
+
+test: test.o solid_angle.o optics.o muon.o vector.o quantum_efficiency.o pdg.o scattering.o misc.o mt19937ar.o sno_charge.o
+
+test-vector: test-vector.o vector.o mt19937ar.o
+
+test-likelihood: test-likelihood.o muon.o random.o optics.o quantum_efficiency.o mt19937ar.o pdg.o vector.o solid_angle.o scattering.o
+
+test-charge: test-charge.o sno_charge.o misc.o
+
+test-zebra: test-zebra.o zebra.o pack2b.o
+
+fit: fit.o zebra.o likelihood.o pmt.o vector.o misc.o muon.o optics.o quantum_efficiency.o solid_angle.o pdg.o scattering.o zdab_utils.o pack2b.o sno_charge.o db.o dqxx.o dict.o siphash.o
+
+clean:
+ rm -f *.o calculate_limits test Makefile.dep
+
+.PHONY: all clean