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 ../../../
......@@ -9,15 +12,15 @@ OBJ_128 = main_float128.o
%.o: %.cpp
$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
pse_1d_128: $(OBJ_128)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
# pse_1d_128: $(OBJ_128)
# $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all: pse_1d_128
#all: pse_1d_128
run: all
source $$HOME/openfpm_vars; ./pse_1d_128
#run: all
# source $$HOME/openfpm_vars; ./pse_1d_128
.PHONY: clean all run
#.PHONY: clean all run
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