Makefile 257 Bytes
Newer Older
Pietro Incardona's avatar
Pietro Incardona committed
1 2 3 4 5 6 7 8 9
include ../../../example.mk

CC=mpic++

LDIR =

OBJ = main.o

%.o: %.cpp
10
	$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
Pietro Incardona's avatar
Pietro Incardona committed
11 12 13 14 15 16 17 18 19 20 21

diff_1d: $(OBJ)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)

all: diff_1d

.PHONY: clean all

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