# Generic makefile all: LIBS = $(LIB)/$(ARCH)/librb.a $(LIB)/$(ARCH)/libdl.a $(LIB)/$(ARCH)/libsf.a \ $(LIB)/$(ARCH)/fields.o $(LIB)/$(ARCH)/dataproc.o INCLUDE = /mahogany/homes/plank/include .SUFFIXES: .c .o .out .hist .jgr .jps .eps .nt .bib .tex .dvi .fig .ps .bin .od .odh .odd .c.o: $(CC) -g -D$(ARCH) -c -I$(INCLUDE) $*.c .c: $(CC) -o $* -g -D$(ARCH) -I$(INCLUDE) $*.c $(LIBS) -lm .bin.od: od -b $*.bin +0. > $*.od .bin.odd: od -D $*.bin +0. > $*.odd .bin.odh: od -H $*.bin +0. > $*.odh .jgr.jps: jgraph -P < $*.jgr > $*.jps .jgr.eps: jgraph < $*.jgr > $*.eps .nt.bib: mknote $*.nt .o.out: $(CC) -g -o $* -I$(INCLUDE) $*.o -lm .c.out: $(CC) -g -o $* -I$(INCLUDE) $*.c -lm .c.jgr: ctojgr $*.c 8 > $*.jgr .tex.dvi: latex $* texclean: rm -f *.aux *.blg *.log .fig.ps: fig2ps < $*.fig > $*.ps .dvi.ps: $(DVIPS) $*.dvi > $*.ps clean: rm -f a.out core *.o