-
Notifications
You must be signed in to change notification settings - Fork 16
/
Makefile
22 lines (17 loc) · 674 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#=======================================================================
# Make file for mkltest.f90
#=======================================================================
F90CFLAGS = -c -O2
F90COMPILER = ifort
PRO = mkltest
OBJECTS = mkltest.o
LIBMKL = -L $(MKLROOT)/lib/intel64/ -lmkl_blas95_lp64 -lmkl_lapack95_lp64 \
-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group \
-lpthread
LINK_MKL = $(LIBMKL)
${PRO}.x : $(OBJECTS)
$(F90COMPILER) -o ${PRO}.x $(OBJECTS) $(LINK_MKL)
%.o : %.f90
$(F90COMPILER) $(F90CFLAGS) $(<F)
clean :
rm *.o *.x