JPRED-2 Add alscript to the Git repository
[jpred.git] / sources / alscript / src / makefile.osf
1 # Makefile for ALSCRIPT, msf2blc and clus2blc programs
2 #
3 # 22 June 1993:  Add alsnum program
4 #
5 # These programs require an ANSI C compiler
6 #
7 # This makefile is for Sun computers
8 #
9 CC = cc
10 MACHINE = osf
11 CFLAGS = -O2 -Olimit 1500 -I./
12 LFLAGS = -o
13 ALOBJS = alscript.o alps.o gjutil.o agetbloc.o ckdd.o gjtimes.o
14 #
15 PROGS = alscript msf2blc clus2blc alsnum fast2blc
16
17 all: $(PROGS)
18
19 alscript: $(ALOBJS)
20         $(CC) $(CFLAGS) $(ALOBJS) $(LFLAGS) alscript
21 msf2blc: msf2blc.o gjutil.o gjtimes.o
22         $(CC) $(CFLAGS) msf2blc.o gjutil.o gjtimes.o  $(LFLAGS) msf2blc
23 clus2blc: clus2blc.o gjutil.o gjtimes.o 
24         $(CC) $(CFLAGS) clus2blc.o gjutil.o gjtimes.o  $(LFLAGS) clus2blc
25 fast2blc: fast2blc.o gjutil.o gjtimes.o
26         $(CC) $(CFLAGS) fast2blc.o gjutil.o gjtimes.o $(LFLAGS) fast2blc
27 alsnum: alsnum.o gjutil.o agetbloc.o gjtimes.o 
28         $(CC) $(CFLAGS) alsnum.o gjutil.o agetbloc.o gjtimes.o $(LFLAGS) alsnum
29
30
31 alscript.o: alscript.c array.h gjutil.h version.h
32         $(CC) $(CFLAGS) -c alscript.c
33
34 alps.o: alps.c array.h gjutil.h version.h
35         $(CC) $(CFLAGS) -c alps.c
36
37 agetbloc.o: agetbloc.c array.h gjutil.h
38         $(CC) $(CFLAGS) -c agetbloc.c
39
40 gjutil.o: gjutil.c gjutil.h gjtimes.o
41         $(CC) $(CFLAGS) -c gjutil.c gjtimes.o
42
43 gjtimes.o: gjtimes.c gjtimes.h
44         $(CC) $(CFLAGS) -c gjtimes.c
45
46 clus2blc.o: clus2blc.c array.h gjutil.h defaults.h
47         $(CC) $(CFLAGS) -c clus2blc.c
48
49 msf2blc.o: msf2blc.c array.h gjutil.h defaults.h
50         $(CC) $(CFLAGS) -c msf2blc.c
51
52 ckdd.o: ckdd.c array.h
53         $(CC) $(CFLAGS) -c ckdd.c
54
55 alsnum.o: alsnum.c array.h gjutil.h defaults.h
56         $(CC) $(CFLAGS) -c alsnum.c