comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/opt/mummer-3.23/src/tigr/Makefile @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
1 #-- Imported variables from top level makefile
2 # BIN_DIR AUX_BIN_DIR CXX CC CFLAGS CXXFLAGS LDFLAGS
3
4 ifndef BIN_DIR
5 BIN_DIR := $(CURDIR)
6 endif
7 ifndef AUX_BIN_DIR
8 AUX_BIN_DIR := $(CURDIR)
9 endif
10
11 OBJ_RULE = $(CXX) $(CXXFLAGS) $< -c -o $@
12 BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(BIN_DIR)/$@; \
13 chmod 755 $(BIN_DIR)/$@
14 AUX_BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
15 chmod 755 $(AUX_BIN_DIR)/$@
16 VPATH := $(AUX_BIN_DIR):$(BIN_DIR)
17
18 ALL := annotate combineMUMs delta-filter gaps mgaps \
19 postnuc postpro prenuc prepro repeat-match \
20 show-aligns show-coords show-tiling show-snps \
21 show-diff
22
23
24 #-- PHONY rules --#
25 .PHONY: all clean
26
27
28 all: $(ALL)
29
30
31 clean:
32 rm -f *.o *~
33 cd $(BIN_DIR); rm -f $(ALL)
34 cd $(AUX_BIN_DIR); rm -f $(ALL)
35
36
37
38
39 #-- not so PHONY rules --#
40 delta.o: delta.cc delta.hh
41 $(OBJ_RULE)
42
43 tigrinc.o: tigrinc.cc tigrinc.hh
44 $(OBJ_RULE)
45
46 sw_align.o: sw_align.cc sw_align.hh tigrinc.hh
47 $(OBJ_RULE)
48
49 translate.o: translate.cc translate.hh
50 $(OBJ_RULE)
51
52
53 annotate: annotate.cc tigrinc.o
54 $(BIN_RULE)
55
56 combineMUMs: combineMUMs.cc tigrinc.o
57 $(BIN_RULE)
58
59 delta-filter: delta-filter.cc tigrinc.o delta.o
60 $(BIN_RULE)
61
62 gaps: gaps.cc tigrinc.o
63 $(BIN_RULE)
64
65 mgaps: mgaps.cc tigrinc.o
66 $(BIN_RULE)
67
68 postnuc: postnuc.cc tigrinc.o sw_align.o
69 $(AUX_BIN_RULE)
70
71 postpro: postpro.cc tigrinc.o sw_align.o translate.o
72 $(AUX_BIN_RULE)
73
74 prenuc: prenuc.cc tigrinc.o
75 $(AUX_BIN_RULE)
76
77 prepro: prepro.cc tigrinc.o translate.o
78 $(AUX_BIN_RULE)
79
80 repeat-match: repeat-match.cc tigrinc.o
81 $(BIN_RULE)
82
83 show-aligns: show-aligns.cc tigrinc.o translate.o delta.o
84 $(BIN_RULE)
85
86 show-coords: show-coords.cc tigrinc.o delta.o
87 $(BIN_RULE)
88
89 show-tiling: show-tiling.cc tigrinc.o delta.o
90 $(BIN_RULE)
91
92 show-snps: show-snps.cc tigrinc.o translate.o delta.o
93 $(BIN_RULE)
94
95 show-diff: show-diff.cc tigrinc.o delta.o
96 $(BIN_RULE)