From d040b305f8f7fa0d847d07d82c2c5966b281b2b4 Mon Sep 17 00:00:00 2001 From: tTh Date: Sun, 7 Jan 2024 05:58:05 +0100 Subject: [PATCH] using my module collection --- BloubWorld/Makefile | 5 +++-- BloubWorld/genbloubs.f90 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BloubWorld/Makefile b/BloubWorld/Makefile index ac8904a..54ced8c 100644 --- a/BloubWorld/Makefile +++ b/BloubWorld/Makefile @@ -6,8 +6,9 @@ all: genbloubs movebloubs exportbloubs mergebloubs \ # ------------------------------------------------------------ -GFOPT = -Wall -Wextra -g -time +GFOPT = -Wall -Wextra -g -time -I../Modules OBJS = bloubspace.o povstuff.o mathstuff.o +MYLIB = '../Modules/libtth90modules.a' # ------------------------------------------------------------ @@ -42,7 +43,7 @@ mathstuff.o: mathstuff.f90 Makefile # ------------------------------------------------------------ genbloubs: genbloubs.f90 Makefile $(OBJS) - gfortran $(GFOPT) $< $(OBJS) -o $@ + gfortran $(GFOPT) $< $(OBJS) $(MYLIB) -o $@ movebloubs: movebloubs.f90 Makefile $(OBJS) gfortran $(GFOPT) $< $(OBJS) -o $@ diff --git a/BloubWorld/genbloubs.f90 b/BloubWorld/genbloubs.f90 index 2baa7aa..47da64e 100644 --- a/BloubWorld/genbloubs.f90 +++ b/BloubWorld/genbloubs.f90 @@ -1,7 +1,7 @@ program genbloubs use bloubspace - use mathstuff + use mathstuff2 integer :: nbbloubs integer :: i