aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 2359e66b9ba6ce4f4b9c0b3a7a4d1812e1a69859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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