Debian Codegraph @

applic/statist/src/makefile

raw
1 # @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:21:26
2 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
3 # all rights reserved
4 # .TYPE make file
5 # .NAME $MIDASHOME/$MIDVERS/applic/statist/src/makefile
6 # .LANGUAGE makefile syntax
7 # .ENVIRONMENT Unix Systems.
8 # .COMMENT Compiles source files and generates "statist" commands
9 #
10 # .REMARKS
11 # .AUTHOR
12 # .VERSION 1.1 891112: Implementation
13 # .VERSION 2.1 901102: new directory structure CG.
14 # .VERSION 3.0 930308: Using default.mk file
15
16 include ../../../local/default.mk
17
18 M = ../../exec
19
20 LLIB = -L$(LIBDIR) -lstat -lftab -lgen -lmidas
21 LIBS = $(LIBDIR)/libstat.a \
22 $(LIBDIR)/libftab.a \
23 $(LIBDIR)/libgen.a \
24 $(LIBDIR)/libmidas.a
25
26 OUT = $(M)/comp2sam.exe $(M)/rankcorr.exe $(M)/tftest.exe\
27 $(M)/tkstest.exe $(M)/tstest.exe
28
29 # DEPENDENCIES:
30 all: $(MAKEFILE_VMS) $(OUT)
31
32 $(MAKEFILE_VMS): makefile
33 $(MAKE_VMS)
34
35 $(M)/comp2sam.exe: comp2sam.o $(LIBS)
36 $(LD77) comp2sam.o $(LLIB) $(SLIB) -o $@
37 $(STRIP) $@
38
39 $(M)/rankcorr.exe: rankcorr.o $(LIBS)
40 $(LD77) rankcorr.o $(LLIB) $(SLIB) -o $@
41 $(STRIP) $@
42
43 $(M)/tftest.exe: tftest.o $(LIBS)
44 $(LD77) tftest.o $(LLIB) $(SLIB) -o $(@)
45 $(STRIP) $@
46
47 $(M)/tkstest.exe: tkstest.o $(LIBS)
48 $(LD77) tkstest.o $(LLIB) $(SLIB) -o $(@)
49 $(STRIP) $@
50
51 $(M)/tstest.exe: tstest.o $(LIBS)
52 $(LD77) tstest.o $(LLIB) $(SLIB) -o $(@)
53 $(STRIP) $@
54
55 clean:
56 rm -f *.o
57 rm -f *.f
58
59 clean_exec:
60 rm -f $(OUT)