incomp-flame-post/code/makefile
2019-04-10 17:24:49 +09:00

34 lines
845 B
Makefile

#flags = -r8 -i8 -msse3 -O3 -axT -m64 -fPIC -i_dynamic -openmp
#Neuman flags
#flags = -O3 -r8 -i8 -openmp -msse3 -axSSSE3 -m64 -fPIC -i_dynamic
#Cluster_2(16.161) flags
flags = -Wall -O3 -fdefault-integer-8 -fdefault-double-8 -fdefault-real-8 -march=native
ifdef CHECK
flags += -fcheck=all
endif
ifdef DEBUG
flags += -g
endif
compiler = gfortran
Post_Cbar_FSD_Incomp : x-edge-cold-bc-uPrime-hybrid
x-edge-cold-bc-uPrime-hybrid : test.o post.o Compact.o
${compiler} -o x-edge-cold-bc-uPrime-hybrid ${flags} test.o post.o Compact.o
test.o : test.f90 post.mod compact.mod
${compiler} -c ${flags} test.f90
post.o post.mod: post.f90 compact.mod
rm -f post.mod
${compiler} -c ${flags} post.f90
Compact.o compact.mod: Compact.f90
rm -f compact.mod
${compiler} -c ${flags} Compact.f90
clean:
rm *.o *.mod x-edge-cold-bc-uPrime-hybrid