Update ChangeLog
[gss-tcad.git] / src / makefile
bloba2cd547f435d8cf67498902640f961f77e56c900
1 All:all
3 include ${PETSC_DIR}/bmake/common/base
4 include ../make.defs
6 OBJ = main.o initial.o data_init.o data_io.o probe.o source.o doping.o bc.o \
7 material.o phy_scale.o \
8 cmdbuf.o lex.o parser.o \
9 grid.o trimesh.o mesh.o zone.o element.o interface.o triangle.o geom.o refine.o \
10 vtk_plot.o plot.o plot3d.o xgraph.o wgraph.o grafix3d.o showmesh.o\
11 log.o ctrl.o \
12 ddm_nt1e.o semiequ1e.o insulequ1.o elecequ1.o \
13 ddm_nt1ac.o semiequ1ac.o insulequ1ac.o elecequ1ac.o \
14 mix1.o semiequ1mix.o insulequ1mix.o mixsocket.o\
15 ddm_nt2e.o semiequ2e.o insulequ2.o elecequ2.o\
16 mix2.o semiequ2mix.o insulequ2mix.o\
17 ebm_nt3e.o semiequ3e.o insulequ3.o elecequ3.o\
18 qddm_nt1e.o semiequ1q.o insulequ1q.o elecequ1q.o\
19 em_fem.o
22 all: objs main.o
23 $(LINK) -O -o gss$(EXE) $(OBJ) ${PETSC_LIB} $(CLIBS)
25 objs:
26 cd utils; make;
27 cd cmd; make;
28 cd grid; make;
29 cd mesh; make;
30 cd solver; make;
31 cd graphic; make;
32 cd runctrl; make;
33 cd material; make;
35 main.o: main.cc
36 $(CXX) $(CXXFLAGS) $(PETSC_INCLUDE) $(INCLUDE) -c main.cc
38 clean:
39 cd cmd; make clean;
40 cd grid; make clean;
41 cd mesh; make clean;
42 cd solver; make clean;
43 cd graphic; make clean;
44 cd runctrl; make clean;
45 cd material; make clean;
46 cd utils; make clean;
47 rm -f *.o
48 rm -f gss$(EXE)