mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
organized Makefile better with petsc
This commit is contained in:
parent
76ebce2444
commit
8edeb34394
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ include OBJECTS
|
|||
# User Options
|
||||
#===============================================================================
|
||||
|
||||
COMPILER = petsc
|
||||
COMPILER = petsc
|
||||
DEBUG = no
|
||||
PROFILE = no
|
||||
OPTIMIZE = no
|
||||
|
|
@ -45,13 +45,13 @@ endif
|
|||
|
||||
# use petsc compiler
|
||||
|
||||
# ifeq ($(COMPILER),petsc)
|
||||
ifeq ($(COMPILER),petsc)
|
||||
F90 = ${FLINKER}
|
||||
F90FLAGS := -cpp -ffree-form
|
||||
include ${PETSC_DIR}/conf/variables
|
||||
include ${PETSC_DIR}/conf/rules
|
||||
LDFLAGS = ${PETSC_SYS_LIB}
|
||||
# endif
|
||||
endif
|
||||
|
||||
# Set compiler flags for debugging
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue