Skip to content

Commit

Permalink
Or just current dir
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Mar 4, 2024
1 parent ad3ed21 commit ea17755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ $(EXEDIRSTATIC)/%.out: $(EXMPLDIR)/%.f90 $(STATIC)

$(EXEDIRSHARED)/%.out: $(TESTDIR)/%.f90 $(SHARED)
mkdir -p $(EXEDIRSHARED)
$(FC) $(FFLAGS) $(MODIN) -o $@ $< $(SHARED) -Wl,-rpath=../../../..
$(FC) $(FFLAGS) $(MODIN) -o $@ $< $(SHARED) -Wl,-rpath=.

$(EXEDIRSHARED)/%.out: $(EXMPLDIR)/%.f90 $(SHARED)
mkdir -p $(EXEDIRSHARED)
$(FC) $(FFLAGS) $(MODIN) -o $@ $< $(SHARED) -Wl,-rpath=../../../..
$(FC) $(FFLAGS) $(MODIN) -o $@ $< $(SHARED) -Wl,-rpath=.

test: $(TESTEXESSTATIC) $(TESTEXESSHARED) $(EXMPLEXESSTATIC) $(EXMPLEXESSHARED)
@for f in $^; do $$f; done
Expand Down

0 comments on commit ea17755

Please sign in to comment.