incomp-flame-1d/code/makefile
2019-03-15 14:03:41 -04:00

18 lines
422 B
Makefile

flags = -Wall -O3 -fdefault-integer-8 -fdefault-double-8 -fdefault-real-8 -march=native
compiler = gfortran
ex : test.o ysolve.mod compact.mod
${compiler} -o ex test.o ysolve.o Compact.o
test.o : test.f90 ysolve.mod
${compiler} -c ${flags} test.f90
ysolve.mod: ysolve.f90 compact.mod
${compiler} -c ${flags} ysolve.f90
compact.mod: Compact.f90
${compiler} -c ${flags} Compact.f90
clean:
rm -f *.o *.mod ex