~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/bench/ode/wave/Makefile

  • Committer: Anders Logg
  • Date: 2007-01-10 09:04:44 UTC
  • mfrom: (1689.1.221 trunk)
  • Revision ID: logg@simula.no-20070110090444-ecyux3n1qnei4i8h
RemoveĀ oldĀ head

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-ode-wave
 
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 $<