From 24c8bcfe7f76b20124e2862ea050f815c0f768e7 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 14 Aug 2018 10:08:27 -0500 Subject: move everything to src directory --- src/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') 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 -- cgit