rogers@ANTHRO.UTAH.EDU (Alan R. Rogers) (06/16/91)
I am enclosing a "makefile" that automates the process of compiling version 3.4 of Joe Felsenstein's PHYLIP. Under Unix, it reduces the task of installing PHYLIP 3.4 to the following steps: (1) copy the "makefile" into a directory containing the source files as Felsenstein distributes them, calling it either "makefile" or "Makefile", (2) edit the line of the makefile that reads: BIN = /usr/local/phylip/bin #Where binaries should end up to specify the directory in which you want the binary executables to reside. (3) type "make", and wait until the compilation is complete, (4) type "make install". This makefile is also available via anonymous ftp from anthro.utah.edu. Alan R. Rogers INTERNET : rogers@anthro.utah.edu USMAIL : Dept. of Anthropology, Univ. of Utah, S.L.C., UT 84112 WORK PHONE: (801) 581-5529 HOME PHONE: (801) 486-6013 ----------------- The Makefile ------------------------------------ #This makefile is designed to help compile Joe Felsenstein's PHYLIP package, #version 3.4. It was written by Alan Rogers, Dept of Anthropology University #of Utah, S.L.C., UT 84108. (rogers@anthro.utah.edu) PFLAGS = -s #Unix Pascal compiler flags E = #Extension of executable files (empty on Unix) BIN = /usr/local/phylip/bin #Where binaries should end up CP = cp #Name of "copy" command RM = rm #Name of "remove" command #following lines automatically copy .pas files to .p files as required #by the Unix pascal compiler .SUFFIXES : .pas .pas.p : $(CP) $< $*.p #Following lines are for TOPS 20 #.pas.exe: # load $< # save #TARGETS is a list of the executables to be made TARGETS = boot$E clique$E consense$E contml$E contrast$E dnaboot$E \ dnacomp$E dnadist$E dnainvar$E dnaml$E dnamlk$E dnamove$E dnapars$E \ dnapenny$E dolboot$E dollop$E dolmove$E dolpenny$E drawgram$E \ drawtree$E factor$E fitch$E gendist$E kitsch$E mix$E move$E \ neighbor$E penny$E protpars$E restml$E seqboot$E #SRC is a list of the source files SRC = boot.p clique.p consense.p contml.p contrast.p dnaboot.p \ dnacomp.p dnadist.p dnainvar.p dnaml.p dnamlk.p dnamove.p dnapars.p \ dnapenny.p dolboot.p dollop.p dolmove.p dolpenny.p drawgram.p \ drawtree.p factor.p fitch.p gendist.p kitsch.p mix.p move.p \ neighbor.p penny.p protpars.p restml.p seqboot.p all : $(TARGETS) $(SRC) #Typing "make" causes all targets to be made touch all install : all #Typing "make install" copies targets to "BIN" $(CP) $(TARGETS) $(BIN) clean : #Typing "make clean" removes the targets $(RM) $(TARGETS)