Skip to content

Commit

Permalink
Use correct option for Intel compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Mar 3, 2024
1 parent 6af65a4 commit 93fba91
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ OBJDIR := $(BUILDDIR)/obj
EXEDIRSTATIC := $(BUILDDIR)/exe/static
EXEDIRSHARED := $(BUILDDIR)/exe/shared

ifeq ($(FC),nvfortran)
MODOUT := -module $(MODDIR)
else
ifeq ($(FC),gfortran)
MODOUT := -J$(MODDIR)
else
MODOUT := -module $(MODDIR)
endif

ifeq ($(FC),nvfortran)
MODIN := -module $(MODDIR)
else
ifeq ($(FC),gfortran)
MODIN := -I$(MODDIR)
else
MODIN := -module $(MODDIR)
endif

SRCS := $(wildcard $(SRCDIR)/*.f90)
Expand Down

0 comments on commit 93fba91

Please sign in to comment.