From 45f621455dc4ee2f7a2bbcb41a83d5899132cde6 Mon Sep 17 00:00:00 2001 From: Antoine <antoine.hoffmann@epfl.ch> Date: Thu, 31 Aug 2023 13:26:56 +0200 Subject: [PATCH] Transfer the path of the directory --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index d8f9cd13..6087f542 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,9 @@ $(OBJDIR)/processing_mod.o $(OBJDIR)/readinputs.o $(OBJDIR)/restarts_mod.o \ $(OBJDIR)/solve_EM_fields.o $(OBJDIR)/species_mod.o $(OBJDIR)/stepon.o $(OBJDIR)/tesend.o \ $(OBJDIR)/time_integration_mod.o $(OBJDIR)/utility_mod.o $(OBJDIR)/CLA_mod.o +# Add finally the definition of the Gyacomo directory +# (helps if the code needs to load a file as for the init Ricci) + compile: F90FLAGS += -D__GYACDIR__=\"$(shell pwd)\" # To compile the executable compile: $(FOBJ) $(F90) $(LDFLAGS) $(OBJDIR)/*.o $(EXTMOD) $(EXTINC) $(EXTLIBS) -o $(EXEC) -- GitLab