Makefile 373 Bytes
Newer Older
Pietro Incardona's avatar
Pietro Incardona committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include ../../../example.mk

CC=mpic++

LDIR =

OBJ_128 = main_float128.o

%.o: %.cpp
	$(CC) -O3 -c -fext-numeric-literals --std=c++11 -o $@ $< $(INCLUDE_PATH)

pse_1d_128: $(OBJ_128)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath

all: pse_1d_128

Pietro Incardona's avatar
Pietro Incardona committed
17
18
19
20
run: all
	source $$HOME/openfpm_vars; ./pse_1d_128

.PHONY: clean all run
Pietro Incardona's avatar
Pietro Incardona committed
21
22
23
24

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