xref: /petsc/src/sys/makefile (revision a5a9c7395dc5f08d0dbb7ed05e148334692018e2)
120563c6bSBarry SmithITOOLSDIR = ../../
22eac72dbSBarry Smith
31eb62cbbSBarry SmithALL: lib
4da3a660dSBarry SmithCFLAGS    = $(OPT) $(INCLUDEDIRS) $(CONF) -D__DIR__='"sys/"' \
5da3a660dSBarry Smith            -I$(ITOOLSDIR)/pinclude
6*a5a9c739SBarry SmithSOURCEC   = tr.c arch.c txt.c file.c  nreg.c try.c comsort.c destroy.c
72eac72dbSBarry SmithSOURCEF   =
82eac72dbSBarry SmithSOURCEH   =
9*a5a9c739SBarry SmithOBJSC     = tr.o arch.o txt.o file.o  nreg.o try.o comsort.o destroy.o
102eac72dbSBarry SmithOBJSF     =
1119e4bc6eSBarry SmithWSOURCEC  = archf.c
1219e4bc6eSBarry SmithWOBJS     = archf.o
13aa2ab745SBarry SmithMANSEC    = 7
142eac72dbSBarry Smith
15aa2ab745SBarry SmithLINCLUDE  = $(SOURCEH)
16aa2ab745SBarry SmithLIBBASE   = libpetscsys
1719e4bc6eSBarry SmithDIRS      = error
182eac72dbSBarry Smith
199e25ed09SBarry SmithSYSLIB   = -L$(LDIR) -lpetscstencil -lpetscgrid -lpetscmat -lpetscvec \
209e25ed09SBarry Smith           $(BLAS_LIB) -lpetscdraw -lpetscsys $(LAPACK_LIB) $(BLAS_LIB) \
219e25ed09SBarry Smith           $(FC_LIB) $(X11_LIB) $(MPI_LIB) $(SYS_LIB) -lm
229e25ed09SBarry Smith
23c6a45a97SBarry Smithrunexamples:
24c6a45a97SBarry Smith
259e25ed09SBarry Smithreview: review.o
269e25ed09SBarry Smith	-$(CLINKER) -o review review.o  $(SYSLIB)
279e25ed09SBarry Smith	$(RM) -f review.o
289e25ed09SBarry Smith
2911d228e4SBarry Smithinclude $(ITOOLSDIR)/bmake/$(PARCH)/$(PARCH)
30