# .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME $MIDASHOME/$MIDVERS/applic/general/src/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Compiles source files and generates "general" commands # # .REMARKS # .AUTHOR # .VERSION 1.1 891112: Implementation # .VERSION 2.1 901102: new directory structure CG. # .VERSION 2.2 920521: Removing MLIB CG # # 051111 last modif include ../../../local/default.mk M = ../../exec LIBS = $(LIBDIR)/libagen.a \ $(LIBDIR)/libgen.a \ $(LIBDIR)/libmidas.a LIBS1 = $(LIBDIR)/libftab.a \ $(LIBDIR)/libmidas.a LLIB = -L$(LIBDIR) -lagen -lgen -lmidas LLIB1 = -L$(LIBDIR) -lftab -lmidas -lmidmath OUT = $(M)/sortrow.exe $(M)/filteradap.exe $(M)/keyset.exe \ $(M)/creastar.exe $(M)/scanima.exe $(M)/keyreg.exe \ $(M)/medfilt.exe # DEPENDENCIES: all: $(MAKEFILE_VMS) $(OUT) $(MAKEFILE_VMS): makefile $(MAKE_VMS) $(M)/keyset.exe: keyset.o $(LIBS) $(LDCC) keyset.o $(LLIB) $(MLIB) $(SLIB) -o $@ $(M)/keyreg.exe: keyreg.o $(LIBS) $(LDCC) keyreg.o $(LLIB) $(MLIB) $(SLIB) -o $@ $(M)/sortrow.exe: sortrow.o $(LIBS1) $(LDCC) sortrow.o $(LLIB1) $(MLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/filteradap.exe: filteradap.o $(LIBS) $(LD77) filteradap.o $(LLIB) $(MLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/creastar.exe: creastar.o $(LIBS1) $(LD77) creastar.o $(LLIB1) $(MLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/scanima.exe: scanima.o $(LIBS) $(LDCC) scanima.o $(LLIB) $(MLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/medfilt.exe: medfilt.o $(LIBS) $(LDCC) medfilt.o $(LLIB) $(MLIB) $(SLIB) -o $@ $(STRIP) $@ clean: rm -f *.o rm -f *.f clean_exec: rm -f $(OUT)