1CFLAGS = -O -DFOUR 2 3SHELL = /bin/sh 4RM = /bin/rm 5BIN = ../../bin 6 7SPLIB = sparse/sparse.a 8 9OBJS = induct.o gmres.o savemat_mod.o readGeom.o joelself.o writefastcap.o \ 10 SetupMulti.o calcp.o SetupComputePsi.o mulSetup.o BreakupSeg.o \ 11 Precond.o addgroundplane.o findpaths.o fillM.o cx_ludecomp.o \ 12 parse_command_line.o default_opts.o Prec_cost.o hole.o \ 13 dist_betw_fils.o mutual.o newPrecond.o deg_mutual.o \ 14 barnoldi.o regurgitate.o 15 16MOBJS = mulGlobal.o mulDo.o mulMulti.o mulLocal.o mulMats.o direct.o \ 17 uglieralloc.o capsolve.o 18 19NONUNIOBJS = find_nonuni_path.o read_tree.o contact.o 20 21HEADER = induct.h cmplx.h resusage.h 22MULHEAD = mulStruct.h mulGlobal.h patran.h resusage.h 23NONUNIHEAD = gp.h 24 25fasthenry: $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SPLIB) 26 $(CC) -o fasthenry $(CFLAGS) $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SPLIB) -lm 27 mv fasthenry $(BIN)/fasthenry 28 29$(SPLIB): 30 cd sparse; make CC=$(CC) 31 32clean: 33 $(RM) -f *.o 34 cd sparse; make clean 35 36$(OBJS): $(HEADER) $(MULHEAD) 37 38$(MOBJS): $(MULHEAD) 39 40$(NONUNIOBJS): $(HEADER) $(MULHEAD) $(NONUNIHEAD) 41