|
Last change
on this file was
12313,
checked in by westram, 12 years ago
|
- merge bugfixes from 'trunk' into 'rc'
- fixes build process when CC and CXX are passed via make-CLI
- adds:
|
|
File size:
443 bytes
|
| Line | |
|---|
| 1 | # fasttree2 Makefile for ARB |
|---|
| 2 | # by Arne Boeckmann (2013) |
|---|
| 3 | |
|---|
| 4 | PROG = FASTTREE |
|---|
| 5 | |
|---|
| 6 | CC=$(A_CC) |
|---|
| 7 | |
|---|
| 8 | #WFLAGS=-Wall |
|---|
| 9 | WFLAGS=-w |
|---|
| 10 | |
|---|
| 11 | SOURCE=FastTree.c |
|---|
| 12 | LOCBIN=FastTree |
|---|
| 13 | INSTBIN=$(ARBHOME)/bin/FastTree |
|---|
| 14 | |
|---|
| 15 | # ARBs standard target |
|---|
| 16 | $(MAIN) : $(INSTBIN) |
|---|
| 17 | |
|---|
| 18 | $(INSTBIN) : $(LOCBIN) |
|---|
| 19 | cp -f $(LOCBIN) $(INSTBIN) |
|---|
| 20 | |
|---|
| 21 | $(LOCBIN): Makefile $(SOURCE) |
|---|
| 22 | $(CC) -O3 -finline-functions -funroll-loops $(WFLAGS) -o $(LOCBIN) $(SOURCE) -lm |
|---|
| 23 | |
|---|
| 24 | clean : |
|---|
| 25 | rm -f $(LOCBIN) $(INSTBIN) |
|---|
| 26 | |
|---|
| 27 | .PHONY : clean |
|---|
| 28 | |
|---|
| 29 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.