~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/sandbox/meshordering/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
 
CFLAGS  = `pkg-config --cflags dolfin`
2
 
LIBS    = `pkg-config --libs dolfin`
3
 
CXX     = `pkg-config --variable=compiler dolfin`
4
 
 
5
 
DEST    = dolfin-meshordering
6
 
#OBJECTS = main.o
7
 
#OBJECTS = main.o Triangle.o
8
 
OBJECTS = main.o DofMap.o Assembler.o
9
 
#OBJECTS = main.o uBlasVector.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 $<