Skip to content

Commit

Permalink
modify sample Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
subarutaro committed Aug 18, 2020
1 parent a37958b commit f8b81c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions sample/c++/LennardJones/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions sample/c++/Nbody/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f8b81c5

Please sign in to comment.