source: branches/nameserver/GDE/MAFFT/Makefile

Last change on this file was 15483, checked in by westram, 8 years ago
File size: 1.1 KB
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# dont spam
10ANY_EXISTING_FILE=Makefile
11POST_COMPILE_LOCAL := 2>&1 | $(ARBHOME)/SOURCE_TOOLS/postcompile.pl --no-warnings $(ANY_EXISTING_FILE)
12
13#disable makeflags
14MAKEFLAGS=
15MAFFTDIR=mafft-7.055-with-extensions
16SCRIPTDIR=$(MAFFTDIR)/scripts
17BINDIR=$(MAFFTDIR)/binaries
18
19# ARBs standard target
20$(MAIN) : $(SCRIPTDIR) $(BINDIR)
21        $(MAKE) mafft.stamp
22
23$(SCRIPTDIR):
24        mkdir -p $@
25
26$(BINDIR):
27        mkdir -p $@
28
29clean_core:
30        +cd $(MAFFTDIR)/core && make clean
31
32clean_extensions:
33        +cd $(MAFFTDIR)/extensions && make clean
34
35clean_here:
36        rm -rf $(ARBHOME)/lib/mafft
37        rm -f mafft.stamp
38        rm -f $(ARBHOME)/bin/mafft*
39
40clean_dirs:
41        rm -rf $(SCRIPTDIR)
42        rm -rf $(BINDIR)
43
44clean: clean_core clean_extensions clean_here clean_dirs
45
46make_core:
47        +( cd $(MAFFTDIR)/core && make && make install ) $(POST_COMPILE_LOCAL)
48
49make_extensions:
50        +( cd $(MAFFTDIR)/extensions && make && make install ) $(POST_COMPILE_LOCAL)
51
52mafft.stamp: make_core make_extensions
53        touch mafft.stamp
54
55.PHONY : clean clean_core clean_extensions clean_here make_core make_extensions
Note: See TracBrowser for help on using the repository browser.