Commit 742340a8 authored by incardon's avatar incardon
Browse files

Fixing example compilation

parent 7dd0e4db
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment