-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
76 lines (67 loc) · 1.71 KB
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#OBJ_DIR = ./
HEADERS = bed.h \
bedStructure.h \
Fasta.h \
genotype_info.h \
header.h \
info.h \
intersect.h \
modify_alleles.h \
output.h \
samples.h \
SmithWatermanGotoh.h \
split.h \
stats.h \
structures.h \
symbolic_alternates.h \
tool_annotate.h \
tool_filter.h \
tool_intersect.h \
tool_merge.h \
tool_stats.h \
tool_validate.h \
tools.h \
variant.h \
vcf.h \
vcfCTools_tool.h
# vcf_aux.h \
# tool_distributions.h
SOURCES = bed.cpp \
bedStructure.cpp \
Fasta.cpp \
genotype_info.cpp \
header.cpp \
info.cpp \
intersect.cpp \
modify_alleles.cpp \
output.cpp \
samples.cpp \
SmithWatermanGotoh.cpp \
split.cpp \
stats.cpp \
symbolic_alternates.cpp \
tool_annotate.cpp \
tool_filter.cpp \
tool_intersect.cpp \
tool_merge.cpp \
tool_stats.cpp \
tool_validate.cpp \
tools.cpp \
variant.cpp \
vcf.cpp \
# vcf_aux.cpp
# tool_distributions.cpp
OBJECTS= $(SOURCES:.cpp=.o)
BIN_SOURCES = vcfCTools.cpp
BINS = $(BIN_SOURCES:.cpp=)
all: $(OBJECTS) $(BINS)
CXX = g++ -lm
#CXX = g++ -g -lm
CXXFLAGS = -O3
$(OBJECTS): $(SOURCES) $(HEADERS)
$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(INCLUDES)
$(BINS): $(BIN_SOURCES) $(OBJECTS)
$(CXX) $(OBJECTS) [email protected] -o $@ $(LDFLAGS) $(CXXFLAGS) $(INCLUDES)
clean:
rm -f $(BINS) $(OBJECTS) vcfCTools.o
.PHONY: clean all