File: makefile-mac

package info (click to toggle)
combblas 2.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 190,488 kB
  • sloc: cpp: 55,918; ansic: 25,134; sh: 3,691; makefile: 548; csh: 66; python: 49; perl: 21
file content (22 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
INCDIR = /opt/local/include
INCADD = -I$(INCDIR) -I$(INCDIR)/mpich2

OPT = -DNDEBUG -O3 -DMPICH_IGNORE_CXX_SEEK
DEB = -g -O0 -fno-inline -DMPICH_IGNORE_CXX_SEEK
COMPILER = mpicxx -std=c++11
FLAGS = $(OPT)

SerializeTest: Test/basic.o
	$(COMPILER) $(FLAGS) $(INCADD) -lboost_serialization -o SerializeTest Test/basic.o

Test/basic.o: Test/basic.cpp Serialize.h
	$(COMPILER) $(INCADD) $(FLAGS) -c -o Test/basic.o Test/basic.cpp

clean:
	rm -f SerializeTest
	rm -f *.o
	rm -f Test/*.o

cleanout:
	rm out.*
	rm err.*