~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/demo/ode/modeling/simple/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  = `dolfin-config --cflags`
2
 
LIBS    = `dolfin-config --libs`
3
 
CXX     = `dolfin-config --compiler`
4
 
LINK    = `dolfin-config --linker`
5
 
 
6
 
DEST    = dolfin-ode-modeling-simple
7
 
OBJECTS = main.o
8
 
 
9
 
all: $(DEST)
10
 
 
11
 
install:
12
 
 
13
 
clean:
14
 
        -rm -f *.o core *.core $(OBJECTS) $(DEST)
15
 
 
16
 
$(DEST): $(OBJECTS)
17
 
         $(LINK) -o $@ $(OBJECTS) $(CFLAGS) $(LIBS)
18
 
 
19
 
.cpp.o:
20
 
        $(CXX) $(CFLAGS) -c $<