# @(#)makefile 17.1.1.1 (ESO-IPG) 01/25/02 17:12:48 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME $MIDASHOME/$MIDVERS/applic/statist/src/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Compiles source files and generates "statist" commands # # .REMARKS # .AUTHOR # .VERSION 1.1 891112: Implementation # .VERSION 2.1 901102: new directory structure CG. # .VERSION 3.0 930308: Using default.mk file include ../../../local/default.mk M = ../../exec LLIB = -L$(LIBDIR) -lstat -lftab -lgen -lmidas LIBS = $(LIBDIR)/libstat.a \ $(LIBDIR)/libftab.a \ $(LIBDIR)/libgen.a \ $(LIBDIR)/libmidas.a OUT = $(M)/comp2sam.exe $(M)/rankcorr.exe $(M)/tftest.exe\ $(M)/tkstest.exe $(M)/tstest.exe # DEPENDENCIES: all: $(MAKEFILE_VMS) $(OUT) $(MAKEFILE_VMS): makefile $(MAKE_VMS) $(M)/comp2sam.exe: comp2sam.o $(LIBS) $(LD77) comp2sam.o $(LLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/rankcorr.exe: rankcorr.o $(LIBS) $(LD77) rankcorr.o $(LLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/tftest.exe: tftest.o $(LIBS) $(LD77) tftest.o $(LLIB) $(SLIB) -o $(@) $(STRIP) $@ $(M)/tkstest.exe: tkstest.o $(LIBS) $(LD77) tkstest.o $(LLIB) $(SLIB) -o $(@) $(STRIP) $@ $(M)/tstest.exe: tstest.o $(LIBS) $(LD77) tstest.o $(LLIB) $(SLIB) -o $(@) $(STRIP) $@ clean: rm -f *.o rm -f *.f clean_exec: rm -f $(OUT)