annotate genome_diversity/src/Makefile @ 0:2c498d40ecde

Uploaded
author miller-lab
date Mon, 09 Apr 2012 12:03:06 -0400
parents
children 95a05c1ef5d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
1 CC = gcc
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
2 COPT = -O2
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
3 CWARN = -W -Wall
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
4 CFLAGS = $(COPT) $(CWARN)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
5 INSTALL_DIR = ../bin
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
6
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
7 TARGETS = admix_prep coords2admix coverage dist_mat dpmix eval2pct \
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
8 Fst_ave Fst_column pop sweep
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
9
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
10 all: $(TARGETS)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
11
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
12 install: $(TARGETS)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
13 if [ ! -d "$(INSTALL_DIR)" ]; then mkdir -p "$(INSTALL_DIR)"; fi
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
14 cp $(TARGETS) $(INSTALL_DIR)
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
15
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
16 admix_prep: admix_prep.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
17 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
18
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
19 coords2admix: coords2admix.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
20 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
21
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
22 coverage: coverage.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
23 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
24
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
25 dist_mat: dist_mat.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
26 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
27
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
28 dpmix: dpmix.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
29 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
30
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
31 eval2pct: eval2pct.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
32 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
33
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
34 Fst_ave: Fst_ave.c Fst_lib.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
35 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
36
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
37 Fst_column: Fst_column.c Fst_lib.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
38 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
39
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
40 pop: pop.c lib.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
41 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
42
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
43 sweep: sweep.c lib.c Huang.c
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
44 $(CC) $(CFLAGS) $^ -o $@
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
45
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
46 .PHONY: clean
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
47
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
48 clean:
2c498d40ecde Uploaded
miller-lab
parents:
diff changeset
49 rm -f $(TARGETS)