1ITOOLSDIR = ../../ 2 3ALL: lib 4CFLAGS = $(OPT) $(INCLUDEDIRS) $(CONF) -D__DIR__='"sys/"' \ 5 -I$(ITOOLSDIR)/pinclude 6SOURCEC = tr.c arch.c txt.c file.c nreg.c try.c comsort.c destroy.c 7SOURCEF = 8SOURCEH = 9OBJSC = tr.o arch.o txt.o file.o nreg.o try.o comsort.o destroy.o 10OBJSF = 11WSOURCEC = archf.c 12WOBJS = archf.o 13MANSEC = 7 14 15LINCLUDE = $(SOURCEH) 16LIBBASE = libpetscsys 17DIRS = error 18 19SYSLIB = -L$(LDIR) -lpetscstencil -lpetscgrid -lpetscmat -lpetscvec \ 20 $(BLAS_LIB) -lpetscdraw -lpetscsys $(LAPACK_LIB) $(BLAS_LIB) \ 21 $(FC_LIB) $(X11_LIB) $(MPI_LIB) $(SYS_LIB) -lm 22 23runexamples: 24 25review: review.o 26 -$(CLINKER) -o review review.o $(SYSLIB) 27 $(RM) -f review.o 28 29include $(ITOOLSDIR)/bmake/$(PARCH)/$(PARCH) 30