source: branches/profile/GDE/MAFFT/Makefile

Last change on this file was 12660, checked in by epruesse, 10 years ago

add some files to make clean

File size: 948 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_dirs:
37        rm -rf $(SCRIPTDIR)
38        rm -rf $(BINDIR)
39
40clean: clean_core clean_extensions clean_here clean_dirs
41
42make_core:
43        +cd $(MAFFTDIR)/core && make && make install
44
45make_extensions:
46        +cd $(MAFFTDIR)/extensions && make && make install
47
48mafft.stamp: make_core make_extensions
49        touch mafft.stamp
50
51.PHONY : clean clean_core clean_extensions clean_here make_core make_extensions
Note: See TracBrowser for help on using the repository browser.