Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
742340a8
Commit
742340a8
authored
Oct 27, 2016
by
incardon
Browse files
Fixing example compilation
parent
7dd0e4db
Changes
1
Hide whitespace changes
Inline
Side-by-side
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
View file @
742340a8
# This example does not work using clang
# Eliminate the comment to activate it
include
../../../example.mk
include
../../../example.mk
CC
=
mpic++
CC
=
mpic++
...
@@ -9,15 +12,15 @@ OBJ_128 = main_float128.o
...
@@ -9,15 +12,15 @@ OBJ_128 = main_float128.o
%.o
:
%.cpp
%.o
:
%.cpp
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
pse_1d_128
:
$(OBJ_128)
#
pse_1d_128: $(OBJ_128)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
-lquadmath
#
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all
:
pse_1d_128
#
all: pse_1d_128
run
:
all
#
run: all
source
$$
HOME/openfpm_vars
;
./pse_1d_128
#
source $$HOME/openfpm_vars; ./pse_1d_128
.PHONY
:
clean all run
#
.PHONY: clean all run
clean
:
clean
:
rm
-f
*
.o
*
~ core pse_1d_128
rm
-f
*
.o
*
~ core pse_1d_128
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment