4 include ${PETSC_DIR}/bmake
/common
/base
5 include ..
/..
/..
/make.defs
10 OBJS
= Ag_basic.o Ag_thermal.o Ag_Optical.o
12 $(CXX
) $(LDFSHARED
) -o libAg.so
$(OBJS
) -lm
14 Ag_basic.o
: Ag_basic.
cc
15 Ag_thermal.o
: Ag_thermal.
cc
16 Ag_Optical.o
: Ag_Optical.
cc
18 $(CXX
) $(CXXFLAGS
) -c
-fPIC
$< $(INCLUDE
) $(PETSC_INCLUDE
)