From f8b81c59e46838ec7b5640cea8a9505aa5b515e3 Mon Sep 17 00:00:00 2001 From: subarutaro Date: Tue, 18 Aug 2020 11:06:54 +0900 Subject: [PATCH] modify sample Makefile --- sample/c++/LennardJones/Makefile | 5 +++-- sample/c++/Nbody/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sample/c++/LennardJones/Makefile b/sample/c++/LennardJones/Makefile index 1a95d41..08e6f70 100644 --- a/sample/c++/LennardJones/Makefile +++ b/sample/c++/LennardJones/Makefile @@ -1,11 +1,12 @@ CC=g++ CCFLAGS= -O2 -CCFLAGS += -I../../inc -PIKG_ROOT=../../ +PIKG_ROOT=../../../ PIKG=$(PIKG_ROOT)/bin/pikg CONVERSION_TYPE=reference +CCFLAGS += -I$(PIKG_ROOT)/inc + PIKG_OPTION= --conversion-type $(CONVERSION_TYPE) --epi-name EP --epj-name EP --force-name Force # AVX2 mode #CONVERSION_TYPE=AVX2 diff --git a/sample/c++/Nbody/Makefile b/sample/c++/Nbody/Makefile index a8e6d19..4fc0584 100644 --- a/sample/c++/Nbody/Makefile +++ b/sample/c++/Nbody/Makefile @@ -1,10 +1,10 @@ CC=g++ CCFLAGS= -O2 -PIKG_ROOT=../../ +PIKG_ROOT=../../../ PIKG=$(PIKG_ROOT)/bin/pikg CONVERSION_TYPE=reference -CCFLAGS += -I../../inc +CCFLAGS += -I$(PIKG_ROOT)/inc PIKG_OPTION= --conversion-type $(CONVERSION_TYPE) --epi-name Particle --epj-name Particle --force-name Particle