source: tags/arb-6.0-rc1/GDE/MAFFT/Makefile

Last change on this file was 11740, checked in by westram, 10 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
4PROG  = MAFFT
5
6# force gcc (hack to fix cent5 build)
7export CC = gcc
8
9#disable makeflags
10MAKEFLAGS=
11MAFFTDIR=mafft-7.055-with-extensions
12SCRIPTDIR=$(MAFFTDIR)/scripts
13BINDIR=$(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
25clean_core:
26        +cd $(MAFFTDIR)/core && make clean
27
28clean_extensions:
29        +cd $(MAFFTDIR)/extensions && make clean
30
31clean_here:
32        rm -rf $(ARBHOME)/lib/mafft
33        rm -f mafft.stamp
34        rm -f $(ARBHOME)/bin/mafft*
35
36clean: clean_core clean_extensions clean_here
37
38make_core:
39        +cd $(MAFFTDIR)/core && make && make install
40
41make_extensions:
42        +cd $(MAFFTDIR)/extensions && make && make install
43
44mafft.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.