From fab74f870bac20db6d1c3f4866acab43cc3ea249 Mon Sep 17 00:00:00 2001 From: JanThorbecke <janth@xs4all.nl> Date: Tue, 17 Mar 2020 08:10:31 +0100 Subject: [PATCH] zfp make and include for building from scratch --- Makefile | 2 +- marchenko3D/Makefile | 3 ++- zfp/Makefile | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1351be2..614dcd2 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ all: mkdirs cd corrvir ; $(MAKE) install cd raytime ; $(MAKE) install cd MDD ; $(MAKE) install - cd zfp ; $(MAKE) + cd zfp ; $(MAKE) install cd fdacrtmc ; $(MAKE) install diff --git a/marchenko3D/Makefile b/marchenko3D/Makefile index 3afe49a..0bd6719 100644 --- a/marchenko3D/Makefile +++ b/marchenko3D/Makefile @@ -2,7 +2,8 @@ include ../Make_include -LIBS += -L$L -lgenfft -lm $(LIBSM) +LIBS += -L$L -lgenfft -lzfp -lm $(LIBSM) +CFLAGS += #OPTC += -g -O0 -Wall #ALL: fmute marchenko marchenko2 diff --git a/zfp/Makefile b/zfp/Makefile index cc69664..1f73d10 100644 --- a/zfp/Makefile +++ b/zfp/Makefile @@ -44,6 +44,9 @@ ifneq ($(BUILD_EXAMPLES),0) @cd examples; $(MAKE) clean all endif +install: + -cp -rp include/* $I + -cp -rp lib/* $L # run basic regression tests test: -- GitLab