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 \ 7 header.c 8SOURCEF = 9SOURCEH = 10OBJSC = tr.o arch.o txt.o file.o nreg.o try.o comsort.o destroy.o \ 11 header.o 12OBJSF = 13WSOURCEC = archf.c 14WOBJS = archf.o 15MANSEC = 7 16 17LINCLUDE = $(SOURCEH) 18LIBBASE = libpetscsys 19DIRS = error 20 21SYSLIB = -L$(LDIR) -lpetscstencil -lpetscgrid -lpetscmat -lpetscvec \ 22 $(BLAS_LIB) -lpetscdraw -lpetscsys $(LAPACK_LIB) $(BLAS_LIB) \ 23 $(FC_LIB) $(X11_LIB) $(MPI_LIB) $(SYS_LIB) -lm 24 25runexamples: 26 27review: review.o 28 -$(CLINKER) -o review review.o $(SYSLIB) 29 $(RM) -f review.o 30 31include $(ITOOLSDIR)/bmake/$(PARCH)/$(PARCH) 32