mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2025-04-28 11:24:45 +02: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
|
CXX = icpc
|
||||||
CXXFLAGS = -O0 -debug full -traceback
|
|
||||||
FC = ifort
|
FC = ifort
|
||||||
|
|
||||||
|
## Compiler flags
|
||||||
|
CXXFLAGS = -O0 -debug full -traceback
|
||||||
FFLAGS = -O0 -debug full -traceback
|
FFLAGS = -O0 -debug full -traceback
|
||||||
# ARCH = -xCORE-AVX2
|
# ARCH = -xCORE-AVX2
|
||||||
|
|
||||||
@ -13,7 +16,6 @@ fDEPS = fmain.f90 SM_MaponiA3_mod.f90
|
|||||||
fOBJ = SM_MaponiA3.o SM_MaponiA3_mod.o fmain.o
|
fOBJ = SM_MaponiA3.o SM_MaponiA3_mod.o fmain.o
|
||||||
fLIBS = -lstdc++
|
fLIBS = -lstdc++
|
||||||
|
|
||||||
|
|
||||||
## Compile recipes for C++ stuff
|
## Compile recipes for C++ stuff
|
||||||
%.o: %.cpp $(cppDEPS)
|
%.o: %.cpp $(cppDEPS)
|
||||||
$(CXX) $(ARCH) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(ARCH) $(CXXFLAGS) -c -o $@ $<
|
||||||
@ -22,6 +24,7 @@ fLIBS = -lstdc++
|
|||||||
%.o: %.f90 $(fDEPS)
|
%.o: %.f90 $(fDEPS)
|
||||||
$(FC) $(ARCH) $(FFLAGS) -c -o $@ $<
|
$(FC) $(ARCH) $(FFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
## Build tagets
|
||||||
.PHONY: all clean distclean
|
.PHONY: all clean distclean
|
||||||
|
|
||||||
all: cppSherman-Morrison fSherman-Morrison
|
all: cppSherman-Morrison fSherman-Morrison
|
||||||
|
Loading…
x
Reference in New Issue
Block a user