Salome HOME
update CDMATH
[tools/solverlab.git] / CDMATH / tests / examples / transport1d / makefile
1 # Transport1d makefile
2
3 CC = g++
4 # Adapt the following line to your own system:
5 CDMATHDIR = ../../../../..
6 IFLAG = -I$(CDMATHDIR)/include -I.
7 LFLAG = -L$(CDMATHDIR)/lib
8 LIBS  =-linterpkernel -lmedC -lmedloader -lmedcoupling -lbase -lmesh -llinearsolver
9 OBJ = main.o
10
11 all: $(OBJ)
12         $(CC) -o main $^ $(IFLAG) $(LFLAG) $(LIBS)
13         
14 %.o: %.cxx
15         $(CC) -c -o $@ $< $(CFLAGS) $(IFLAG) $(LFLAG) $(LIBS)
16         
17 .PHONY: clean
18
19 clean:
20         rm -f *.o *~ core $(INCDIR)/*~
21
22 sweep:
23         rm -f *.vtu
24         rm -f *.pvd
25         rm -f *.csv
26         rm -f *.med