Skip to content

Commit

Permalink
Added Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
yoricklassmann committed Oct 27, 2022
1 parent 024154d commit b43ecb8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
include make.vars

MAIN = optimwidths.o

MODS = m_read.o m_misc.o m_func.o m_optimizers.o

%.o : %.f90
$(FC) $(FFLAG) -c $<

optimwidths.x: $(MAIN) $(MODS)
$(FC) $(FFLAG) -o $@ $(MAIN) $(MODS) $(LFLAG)

m_optimizers.o: m_func.o

optimwidths.o: $(MODS)

install: optimwidths.x
2 changes: 2 additions & 0 deletions make.vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FC = ifort
LFLAG = -L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread

0 comments on commit b43ecb8

Please sign in to comment.