Last change
on this file was
11740,
checked in by westram, 11 years ago
|
- remove directories 'binaries' and 'scripts' from SVN and generate them from Makefile
|
File size:
885 bytes
|
Line | |
---|
1 | # MAFFT for ARB |
---|
2 | # by Arne Boeckmann (2013) |
---|
3 | |
---|
4 | PROG = MAFFT |
---|
5 | |
---|
6 | # force gcc (hack to fix cent5 build) |
---|
7 | export CC = gcc |
---|
8 | |
---|
9 | #disable makeflags |
---|
10 | MAKEFLAGS= |
---|
11 | MAFFTDIR=mafft-7.055-with-extensions |
---|
12 | SCRIPTDIR=$(MAFFTDIR)/scripts |
---|
13 | BINDIR=$(MAFFTDIR)/binaries |
---|
14 | |
---|
15 | # ARBs standard target |
---|
16 | $(MAIN) : $(SCRIPTDIR) $(BINDIR) |
---|
17 | $(MAKE) mafft.stamp |
---|
18 | |
---|
19 | $(SCRIPTDIR): |
---|
20 | mkdir -p $@ |
---|
21 | |
---|
22 | $(BINDIR): |
---|
23 | mkdir -p $@ |
---|
24 | |
---|
25 | clean_core: |
---|
26 | +cd $(MAFFTDIR)/core && make clean |
---|
27 | |
---|
28 | clean_extensions: |
---|
29 | +cd $(MAFFTDIR)/extensions && make clean |
---|
30 | |
---|
31 | clean_here: |
---|
32 | rm -rf $(ARBHOME)/lib/mafft |
---|
33 | rm -f mafft.stamp |
---|
34 | rm -f $(ARBHOME)/bin/mafft* |
---|
35 | |
---|
36 | clean: clean_core clean_extensions clean_here |
---|
37 | |
---|
38 | make_core: |
---|
39 | +cd $(MAFFTDIR)/core && make && make install |
---|
40 | |
---|
41 | make_extensions: |
---|
42 | +cd $(MAFFTDIR)/extensions && make && make install |
---|
43 | |
---|
44 | mafft.stamp: make_core make_extensions |
---|
45 | touch mafft.stamp |
---|
46 | |
---|
47 | .PHONY : clean clean_core clean_extensions clean_here make_core make_extensions |
---|
Note: See
TracBrowser
for help on using the repository browser.