~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/demo/ode/homotopy/economy/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
 
DEST1    = demo-test
6
 
OBJECTS1 = test.o
7
 
 
8
 
DEST2    = demo-ces
9
 
OBJECTS2 = ces.o
10
 
 
11
 
all: $(DEST1) $(DEST2)
12
 
 
13
 
install:        
14
 
 
15
 
clean:
16
 
        -rm -f *.o core *.core $(OBJECTS1) $(OBJECTS2) $(DEST1) $(DEST2)
17
 
 
18
 
$(DEST1): $(OBJECTS1)
19
 
         $(CXX) -o $@ $(OBJECTS1) $(CFLAGS) $(LIBS)
20
 
 
21
 
$(DEST2): $(OBJECTS2)
22
 
         $(CXX) -o $@ $(OBJECTS2) $(CFLAGS) $(LIBS)
23
 
 
24
 
.cpp.o:
25
 
        $(CXX) $(CFLAGS) -c $<