# Makefile for hvproc1 # name of current fortran compiler FC = f77 # name of the compiler dependent directory # # Linux CDD = ../Dep_L # # Windows # CDD = ../Dep_W # # IBM # CDD = ../Dep_IBM # # compiler flag(s) FFLAGS = -O # erase file command RM = rm ############################################################## ############################################################## # include directories INCL = -I../Inc HEADERS = ../Inc/codeco_common.f ../Inc/main.h ../Inc/parameters.h ../Inc/times.h ../Inc/window.h TARGET = ../hvproc0_1 SRC = hvproc1.f\ apply.f\ apply_smooth.f\ apply_taper.f\ av_write.f\ average_sd.f\ bilin2.f\ buroots.f\ cfftf.f\ cfftf1.f\ cffti.f\ cffti1.f\ ckerr.f\ ckesfi.f\ clall.f\ codecoutil.f\ comp_f0.f\ compdecomp.f\ cutoffs.f\ deffre.f\ defpar.f\ fout.f\ gcmln.f\ gel_hv.f\ glun.f\ gsein.f\ gtws.f\ hps.f\ hv.f\ init_hdrvars.f\ interv.f\ interv1.f\ itw.f\ jlen.f\ kf0.f\ lp.f\ lptbp.f\ lpthp.f\ merge_hv.f\ parfile_read.f\ passf.f\ passf2.f\ passf3.f\ passf4.f\ passf5.f\ readercs.f\ readergse.f\ readerth.f\ rmean.f\ rsaf.f\ split3.f\ split4.f\ strtok.f\ swin_write.f\ warp.f\ xbpf.f\ xfft.f\ xhpf.f\ xlpf.f\ $(CDD)/guw8.f\ $(CDD)/intand.f OBJ = $(SRC:.f=.o) .f.o: $(FC) $(FFLAGS) $(INCL) -c $< -o $@ $(TARGET): $(OBJ) $(FC) -o $(TARGET) $(OBJ) $(OBJ): $(HEADERS) clean: $(RM) $(OBJ)