~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/demo/pde/stokes/stabilized/cpp/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    = demo
6
 
OBJECTS = main.o
7
 
 
8
 
all: $(DEST)
9
 
 
10
 
install:
11
 
 
12
 
clean:
13
 
        -rm -f *.o core *.core $(OBJECTS) $(DEST)
14
 
 
15
 
$(DEST): $(OBJECTS)
16
 
         $(CXX) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS)
17
 
 
18
 
.cpp.o:
19
 
        $(CXX) $(CFLAGS) -c $<