# @(#)makefile 17.1.1.1 (ESO-IPG) 01/25/02 17:52:45 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME $MIDASHOME/$MIDVERS/stdred/irac2/src/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Compiles source files and generates "irac2" commands # # .REMARKS # .AUTHOR # .VERSION 1.1 880131: Implementation # .VERSION 1.2 890104: Generating makefile.com for VMS systems # .VERSION 2.1 901212: New directory structure . CG # .VERSION 2.2 920521: Removing MLIB CG # .VERSION 3.0 930308: Using default.mk file include ../../../local/default.mk M = ../../exec LLIB = -L$(LIBDIR) -lmidas LIBS = $(LIBDIR)/libmidas.a OUT = $(M)/mask.exe $(M)/crpixmask.exe # DEPENDENCIES: all: $(MAKEFILE_VMS) $(OUT) $(MAKEFILE_VMS): makefile $(MAKE_VMS) $(M)/mask.exe: mask.o $(LIBS) $(LD77) mask.o $(LLIB) $(SLIB) -o $@ $(STRIP) $@ $(M)/crpixmask.exe: crpixmask.o $(LIBS) $(LD77) crpixmask.o $(LLIB) $(SLIB) -o $@ $(STRIP) $@ clean_exec: rm -f $(OUT) clean: rm -f *.o rm -f *.f