Makefile 439 Bytes
Newer Older
incardon's avatar
incardon committed
1
2
3
# This example does not work using clang
# Eliminate the comment to activate it

Pietro Incardona's avatar
Pietro Incardona committed
4
5
6
7
8
9
10
11
12
include ../../../example.mk

CC=mpic++

LDIR =

OBJ_128 = main_float128.o

%.o: %.cpp
13
	$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
Pietro Incardona's avatar
Pietro Incardona committed
14

incardon's avatar
incardon committed
15
16
# pse_1d_128: $(OBJ_128)
# 	$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
Pietro Incardona's avatar
Pietro Incardona committed
17

incardon's avatar
incardon committed
18
#all: pse_1d_128
Pietro Incardona's avatar
Pietro Incardona committed
19

incardon's avatar
incardon committed
20
21
run: #all
	source $$HOME/openfpm_vars;# ./pse_1d_128
Pietro Incardona's avatar
Pietro Incardona committed
22

incardon's avatar
incardon committed
23
#.PHONY: clean all run
Pietro Incardona's avatar
Pietro Incardona committed
24
25
26
27

clean:
	rm -f *.o *~ core pse_1d_128