~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/sandbox/passembly/Makefile

  • Committer: Johannes Ring
  • Date: 2008-03-05 22:43:06 UTC
  • Revision ID: johannr@simula.no-20080305224306-2npsdyhfdpl2esji
The BIG commit!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
PARMETIS = ${HOME}/code/software/ParMetis-3.1
2
 
#PARMETIS = /usr/src/ParMetis-3.1
3
 
 
4
 
CFLAGS  = `pkg-config --cflags dolfin` -I$(PARMETIS) -I$(PARMETIS)/METISLib
5
 
LIBS    = `pkg-config --libs dolfin` -L$(PARMETIS) -lparmetis -lmetis
6
 
CXX     = `pkg-config --variable=compiler dolfin`
7
 
 
8
 
DEST    = dolfin-parallel-test
9
 
OBJECTS = main.o
10
 
 
11
 
all: $(DEST)
12
 
 
13
 
install:
14
 
 
15
 
clean:
16
 
        -rm -f *.o core *.core $(OBJECTS) $(DEST)
17
 
 
18
 
$(DEST): $(OBJECTS)
19
 
         $(CXX) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS)
20
 
 
21
 
.cpp.o:
22
 
        $(CXX) $(CFLAGS) -c $<
23