-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.AVX.gcc
29 lines (17 loc) · 1.14 KB
/
Makefile.AVX.gcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Makefile June 2011 by Alexandros Stamatakis
# to compile OPENMP version use INTEL icc !
CC = gcc
#icc
CFLAGS = -D__AVX -mavx -D_GNU_SOURCE -O2 -fomit-frame-pointer -funroll-loops #-Wall -pedantic -Wunused-parameter -Wredundant-decls -Wreturn-type -Wswitch-default -Wunused-value -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -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 -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -Wbad-function-cast
LIBRARIES = -lm
#Intel OPENMP flag for linking and compiling: -openmp
RM = rm -f
objs = axml.o fastDNAparsimony.o
all : raxmlHPC
GLOBAL_DEPS = axml.h
raxmlHPC : $(objs)
$(CC) -o parsimonator-AVX $(objs) $(LIBRARIES)
axml.o : axml.c $(GLOBAL_DEPS)
fastDNAparsimony.o : fastDNAparsimony.c $(GLOBAL_DEPS)
clean :
$(RM) *.o parsimonator-AVX