Makefile 281 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
include ../../example.mk

CC=mpic++

LDIR =

OBJ = main.o

%.o: %.cpp
10
	$(CC) -O3 -g3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
11
12

se_classes: $(OBJ)
Pietro Incardona's avatar
Pietro Incardona committed
13
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
14
15
16

all: se_classes

Pietro Incardona's avatar
Pietro Incardona committed
17
18
19
run: all

.PHONY: clean all run
20
21
22
23

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