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