1
# .COPYRIGHT: Copyright (c) 1988-2005 European Southern Observatory,
4
# .NAME $MIDASHOME/$MIDVERS/applic/general/src/makefile
5
# .LANGUAGE makefile syntax
6
# .ENVIRONMENT Unix Systems.
7
# .COMMENT Compiles source files and generates "general" commands
11
# .VERSION 1.1 891112: Implementation
12
# .VERSION 2.1 901102: new directory structure CG.
13
# .VERSION 2.2 920521: Removing MLIB CG
17
include ../../../local/default.mk
21
LIBS = $(LIBDIR)/libagen.a \
25
LIBS1 = $(LIBDIR)/libftab.a \
28
LLIB = -L$(LIBDIR) -lagen -lgen -lmidas
29
LLIB1 = -L$(LIBDIR) -lftab -lmidas
31
OUT = $(M)/sortrow.exe $(M)/filteradap.exe $(M)/keyset.exe \
32
$(M)/creastar.exe $(M)/scanima.exe $(M)/keyreg.exe \
36
all: $(MAKEFILE_VMS) $(OUT)
38
$(MAKEFILE_VMS): makefile
42
$(M)/keyset.exe: keyset.o $(LIBS)
43
$(LDCC) keyset.o $(LLIB) $(MLIB) $(SLIB) -o $@
45
$(M)/keyreg.exe: keyreg.o $(LIBS)
46
$(LDCC) keyreg.o $(LLIB) $(MLIB) $(SLIB) -o $@
48
$(M)/sortrow.exe: sortrow.o $(LIBS1)
49
$(LDCC) sortrow.o $(LLIB1) $(MLIB) $(SLIB) -o $@
52
$(M)/filteradap.exe: filteradap.o $(LIBS)
53
$(LD77) filteradap.o $(LLIB) $(MLIB) $(SLIB) -o $@
56
$(M)/creastar.exe: creastar.o $(LIBS1)
57
$(LD77) creastar.o $(LLIB1) $(MLIB) $(SLIB) -o $@
60
$(M)/scanima.exe: scanima.o $(LIBS)
61
$(LDCC) scanima.o $(LLIB) $(MLIB) $(SLIB) -o $@
64
$(M)/medfilt.exe: medfilt.o $(LIBS)
65
$(LDCC) medfilt.o $(LLIB) $(MLIB) $(SLIB) -o $@