fix: building shared lib on Mac/Darwin
[gss-tcad.git] / src / material / Vacuum / makefile
blob0f1f58908af56b7e4df258ceabac3926580be52c
1 ALL: all
4 include ${PETSC_DIR}/bmake/common/base
5 include ../../../make.defs
7 all: libVacuum.so
8 cp libVacuum.so ..
10 OBJS = Vacuum_basic.o Vacuum_thermal.o
11 libVacuum.so: $(OBJS)
12 $(CXX) $(LDFSHARED) -o libVacuum.so $(OBJS) -lm
14 Vacuum_basic.o : Vacuum_basic.cc
15 Vacuum_thermal.o : Vacuum_thermal.cc
16 .cc.o:
17 $(CXX) $(CXXFLAGS) -c -fPIC $< $(INCLUDE) $(PETSC_INCLUDE)
19 clean:
20 rm -f *.o *.so