Last change
on this file was
10928,
checked in by westram, 10 years ago
|
- cleaned up targets
- 'realclean' removed
- ensure 'cleanlinks' is only once in dep-chain
- force creation of mafft-links (as already was done for other links)
- declare targets PHONY
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | .PHONY: help all develall mafftlinks scriptlinks devellinks clean cleanbinaries cleanlinks |
---|
3 | |
---|
4 | help: |
---|
5 | @echo 'Known targets:' |
---|
6 | @echo '' |
---|
7 | @echo ' all create all links to binaries in: SH PERL_SCRIPTS' |
---|
8 | @echo ' develall create links to arb_binaries in: SOURCE_TOOLS (development only)' |
---|
9 | @echo ' clean: remove all executables and links' |
---|
10 | @echo ' cleanlinks: remove all links' |
---|
11 | |
---|
12 | # ---------------------------------------- |
---|
13 | |
---|
14 | all: cleanlinks |
---|
15 | $(MAKE) scriptlinks mafftlinks |
---|
16 | |
---|
17 | develall: cleanlinks |
---|
18 | $(MAKE) scriptlinks mafftlinks devellinks |
---|
19 | |
---|
20 | # ---------------------------------------- |
---|
21 | |
---|
22 | MAFFTLINKS= \ |
---|
23 | mafft-einsi \ |
---|
24 | mafft-fftns \ |
---|
25 | mafft-fftnsi \ |
---|
26 | mafft-ginsi \ |
---|
27 | mafft-linsi \ |
---|
28 | mafft-nwns \ |
---|
29 | mafft-nwnsi \ |
---|
30 | mafft-qinsi \ |
---|
31 | mafft-xinsi \ |
---|
32 | |
---|
33 | mafft-%: |
---|
34 | ln -s -f mafft $@ |
---|
35 | |
---|
36 | mafftlinks: $(MAFFTLINKS) |
---|
37 | |
---|
38 | scriptlinks: |
---|
39 | ln -s -f `find ../SH ../PERL_SCRIPTS -perm -100 ! -type d ! -name 'config*' -print` . |
---|
40 | |
---|
41 | devellinks: |
---|
42 | ln -s -f `find ../SOURCE_TOOLS -name "arb_*" -perm -100 ! -type d -print` . |
---|
43 | |
---|
44 | # ---------------------------------------- |
---|
45 | clean: cleanlinks cleanbinaries |
---|
46 | |
---|
47 | cleanbinaries: |
---|
48 | -find . -type f -perm -100 -exec rm {} \; |
---|
49 | |
---|
50 | cleanlinks: |
---|
51 | -find . -type l -exec rm {} \; |
---|
Note: See
TracBrowser
for help on using the repository browser.