1ITOOLSDIR = ../../ 2 3ALL: lib workers 4CFLAGS = $(OPT) $(INCLUDEDIRS) $(CONF) 5SOURCEC = tr.c arch.c txt.c file.c nreg.c 6SOURCEF = 7SOURCEH = 8OBJSC = tr.o arch.o txt.o file.o nreg.o 9OBJSF = 10WSOURCEC = archf.c 11WOBJS = archf.o 12MANSEC = 7 13 14LINCLUDE = $(SOURCEH) 15LIBBASE = libpetscsys 16DIRS = error 17 18# This is because I got sick of different examples and 19# changing makefiles for parallel and sequential code 20workers: fmain.c cmain.c 21 $(CC) -c $(CFLAGS) $(BASEOPT) fmain.c cmain.c 22 mv fmain.o $(LDIR)/fmain.o 23 mv cmain.o $(LDIR)/cmain.o 24 25include $(ITOOLSDIR)/bmake/$(PARCH)/$(PARCH) 26