Skip to content

Commit

Permalink
edit makefile to pass CI test (trail 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
han190 committed Mar 7, 2024
1 parent 7b1056d commit 8320601
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FC=gfortran
FC?=gfortran
profile?=release
current_dir=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))
build_dir=$(current_dir)/build/$(FC)_$(profile)_makefile
Expand All @@ -20,9 +20,9 @@ ifeq ($(FC), gfortran)
FFLAGS+=-O3 -march=native
endif

compile=$(FC) $(FFLAGS) -I$(include_dir)
compile_obj=$(compile) -J$(build_dir)
compile_exe=$(compile) -I$(build_dir)
compile=$(FC) $(FFLAGS)
compile_obj=$(compile) -J$(build_dir) -I$(include_dir)
compile_exe=$(compile) -I$(include_dir) -I$(build_dir)
endif

# Preprocess objects
Expand Down

0 comments on commit 8320601

Please sign in to comment.