source: branches/port5/GDE/RAxML/Makefile.PTHREADS

Last change on this file was 5262, checked in by westram, 17 years ago
  • update to RAxML 7.0.3
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# Makefile August 2006 by Alexandros Stamatakis
2# Makefile cleanup October 2006, Courtesy of Peter Cordes <peter@cordes.ca>
3
4CC = gcc
5
6CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -D_USE_PTHREADS -D_GNU_SOURCE #-Wall -pedantic
7#-Wunused-parameter -Wredundant-decls  -Wreturn-type  -Wswitch-default -Wunused-value -Wimplicit  -Wimplicit-function-declaration  -Wimplicit-int -Wimport -pedantic-errors -Wunused  -Wunused-function  -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast  -Wmissing-declarations -Wmissing-prototypes  -Wnested-externs  -Wold-style-definition -Wstrict-prototypes  -Wdeclaration-after-statement -Wpointer-sign -Wextra -Wmissing-noreturn -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value  -Wunused-variable
8
9
10LIBRARIES = -lm -pthread
11
12RM = rm -f
13
14objs    = axml.o raxmlParsimony.o rev_functions.o optimizeModel.o multiple.o searchAlgo.o topologies.o parsePartitions.o treeIO.o models.o bipartitionList.o rapidBootstrap.o evaluatePartialGeneric.o evaluateGeneric.o newviewGeneric.o makenewzGeneric.o  evaluateGenericVector.o categorizeGeneric.o
15
16all : raxmlHPC-PTHREADS
17
18GLOBAL_DEPS = axml.h globalVariables.h
19
20raxmlHPC-PTHREADS : $(objs)
21        $(CC) -o raxmlHPC-PTHREADS $(objs) $(LIBRARIES)
22
23# Optimization flag -O3 will yield an erroneous code for rev_functions !
24
25rev_functions.o : rev_functions.c $(GLOBAL_DEPS)
26        $(CC) -c -o $@ $<
27
28
29bipartitionList.o : bipartitionList.c $(GLOBAL_DEPS)
30optimizeModel.o : optimizeModel.c $(GLOBAL_DEPS)
31multiple.o : multiple.c $(GLOBAL_DEPS)
32axml.o : axml.c $(GLOBAL_DEPS)
33raxmlParsimony.o : raxmlParsimony.c $(GLOBAL_DEPS)
34searchAlgo.o : searchAlgo.c $(GLOBAL_DEPS)
35topologies.o : topologies.c $(GLOBAL_DEPS)
36parsePartitions.o : parsePartitions.c $(GLOBAL_DEPS)
37treeIO.o : treeIO.c $(GLOBAL_DEPS)
38models.o : models.c $(GLOBAL_DEPS)
39rapidBootstrap.o : rapidBootstrap.c $(GLOBAL_DEPS)
40evaluatePartialGeneric.o : evaluatePartialGeneric.c $(GLOBAL_DEPS)
41evaluateGeneric.o : evaluateGeneric.c $(GLOBAL_DEPS)
42newviewGeneric.o : newviewGeneric.c $(GLOBAL_DEPS)
43makenewzGeneric.o : makenewzGeneric.c $(GLOBAL_DEPS)
44evaluateGenericVector.o : evaluateGenericVector.c $(GLOBAL_DEPS)
45categorizeGeneric.o : categorizeGeneric.c $(GLOBAL_DEPS)
46
47clean :
48        $(RM) *.o raxmlHPC-PTHREADS
Note: See TracBrowser for help on using the repository browser.