# This is the makefile that creates the program "wls". To compile, # simply type "make" at the Unix prompt. Type "make clean" after the # compilation will delete all the object files and leave just the # executable. # In a makefile, comments start with a #. F77OPT=-O # This is additional options for Fortran compiler # OBJ is the list of modules needed for the final executable OBJ= bigsim01.o sweep.o det.o myprocs.o inverse.o dqksort.o cdfn.o rwgendat.o newsort.o genparam.o genxx.o moments.o summariz.o mykmeans.o clustery.o wasscode.o cloglike.o mle.o andar.o # Each rule consists of several parts: # # target:dependencies # command(s) # # where "target" is the filename of output at that step, # "dependencies" are file(s) needed at that step, # "command(s)" are command(s) that produce the output at that step. # means you need to type the TAB key instead of spaces. # The -c option says just create the .o file, don't link. callkohn: $(OBJ) f77 $(F77OPT) -o callkohn $(OBJ) bigsim01.o: bigsim01.f f77 $(F77OPT) -c bigsim01.f mykmeans.o: mykmeans.f f77 $(F77OPT) -c mykmeans.f clustery.o: clustery.f f77 $(F77OPT) -c clustery.f myprocs.o: myprocs.f f77 $(F77OPT) -c myprocs.f cloglike.o: cloglike.f f77 $(F77OPT) -c cloglike.f dqksort.o: dqksort.f f77 $(F77OPT) -c dqksort.f rwgendat.o: rwgendat.f f77 $(F77OPT) -c rwgendat.f genparam.o: genparam.f f77 $(F77OPT) -c genparam.f genxx.o: genxx.f f77 $(F77OPT) -c genxx.f moments.o: moments.f f77 $(F77OPT) -c moments.f sweep.o: sweep.f f77 $(F77OPT) -c sweep.f det.o: det.f f77 $(F77OPT) -c det.f inverse.o: inverse.f f77 $(F77OPT) -c inverse.f cdfn.o: cdfn.f f77 $(F77OPT) -c cdfn.f newsort.o: newsort.f f77 $(F77OPT) -c newsort.f #loglikem.o: loglikem.f # f77 $(F77OPT) -c loglikem.f summariz.o: summariz.f f77 $(F77OPT) -c summariz.f #likely.o: likely.f # f77 $(F77OPT) -c likely.f wasscode.o: wasscode.f f77 $(F77OPT) -c wasscode.f mle.o: mle.f f77 $(F77OPT) -c mle.f andar.o: andar.f f77 $(F77OPT) -c andar.f clean: @rm -f $(OBJ) core