| Line | |
|---|
| 1 | |
|---|
| 2 | LIBDIR := $(ARBHOME)/lib |
|---|
| 3 | |
|---|
| 4 | ifdef DARWIN |
|---|
| 5 | SO:=bundle |
|---|
| 6 | else |
|---|
| 7 | SO:=so |
|---|
| 8 | endif |
|---|
| 9 | |
|---|
| 10 | ARB_PM := $(LIBDIR)/ARB.pm |
|---|
| 11 | ARB_SO := $(LIBDIR)/ARB.$(SO) |
|---|
| 12 | |
|---|
| 13 | help: |
|---|
| 14 | test test all perl scripts for syntax |
|---|
| 15 | |
|---|
| 16 | test: test.stamp |
|---|
| 17 | |
|---|
| 18 | test.stamp: $(ARB_PM) $(ARB_SO) |
|---|
| 19 | @echo $(SEP) Testing scripts in PERL_SCRIPTS |
|---|
| 20 | @perl -c testScripts.pl |
|---|
| 21 | @perl testScripts.pl || echo "You either lack S::LintSubs and/or Bio::TreeIO or the perl scripts are buggy. We continue anyway.." |
|---|
| 22 | @touch $@ |
|---|
| 23 | |
|---|
| 24 | clean: |
|---|
| 25 | rm test.stamp |
|---|
Note: See
TracBrowser
for help on using the repository browser.