[32a023]: obsolete / test / Makefile Maximize Restore History

Download this file

Makefile    39 lines (24 with data), 1.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
MKOCTFILE ?= mkoctfile
OCTFILES=test_expr.oct test_bc.oct test_coeff.oct test_rlhs.oct
LIBS += -ldolfin
all: $(OCTFILES)
test_expr.oct: test_expr.o
$(MKOCTFILE) -s ../src/fem_init_env.o test_expr.o -o $@ $(LDFLAGS) $(LIBS)
test_expr.o: test_expr.cpp Laplace.h
$(MKOCTFILE) -c test_expr.cpp $(LDFLAGS) -o $@ -I../src/
test_bc.oct: test_bc.o
$(MKOCTFILE) -s ../src/fem_init_env.o test_bc.o -o $@ $(LDFLAGS) $(LIBS)
test_bc.o: test_bc.cpp Laplace.h
$(MKOCTFILE) -c test_bc.cpp $(LDFLAGS) -o $@ -I../src/
test_coeff.oct: test_coeff.o
$(MKOCTFILE) -s ../src/fem_init_env.o test_coeff.o -o $@ $(LDFLAGS) $(LIBS)
test_coeff.o: test_coeff.cpp Laplace.h
$(MKOCTFILE) -c test_coeff.cpp $(LDFLAGS) -o $@ -I../src/
test_rlhs.oct: test_rlhs.o
$(MKOCTFILE) -s ../src/fem_init_env.o test_rlhs.o -o $@ $(LDFLAGS) $(LIBS)
test_rlhs.o: test_rlhs.cc Laplace.h
$(MKOCTFILE) -c test_rlhs.cc $(LDFLAGS) -o $@ -I../src/
Laplace.h: Laplace.ufl
ffc -l dolfin Laplace.ufl
clean:
-rm -f *.o core octave-core *.oct *~ *.xml *.pvd *.vtu Laplace.h