mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-11-03 20:54:08 +01:00
Put more comments in Makefile.
This commit is contained in:
parent
f1641dd4e4
commit
7f7b23f7c4
7
Makefile
7
Makefile
@ -1,6 +1,9 @@
|
||||
## Used compilers
|
||||
CXX = icpc
|
||||
CXXFLAGS = -O0 -debug full -traceback
|
||||
FC = ifort
|
||||
|
||||
## Compiler flags
|
||||
CXXFLAGS = -O0 -debug full -traceback
|
||||
FFLAGS = -O0 -debug full -traceback
|
||||
# ARCH = -xCORE-AVX2
|
||||
|
||||
@ -13,7 +16,6 @@ fDEPS = fmain.f90 SM_MaponiA3_mod.f90
|
||||
fOBJ = SM_MaponiA3.o SM_MaponiA3_mod.o fmain.o
|
||||
fLIBS = -lstdc++
|
||||
|
||||
|
||||
## Compile recipes for C++ stuff
|
||||
%.o: %.cpp $(cppDEPS)
|
||||
$(CXX) $(ARCH) $(CXXFLAGS) -c -o $@ $<
|
||||
@ -22,6 +24,7 @@ fLIBS = -lstdc++
|
||||
%.o: %.f90 $(fDEPS)
|
||||
$(FC) $(ARCH) $(FFLAGS) -c -o $@ $<
|
||||
|
||||
## Build tagets
|
||||
.PHONY: all clean distclean
|
||||
|
||||
all: cppSherman-Morrison fSherman-Morrison
|
||||
|
Loading…
Reference in New Issue
Block a user