1 # Makefile for ALSCRIPT, msf2blc and clus2blc programs
3 # These programs require an ANSI C compiler
5 # This makefile is for Sun computers
11 ALOBJS = alscript.o alps.o gjutil.o agetbloc.o ckdd.o gjtimes.o
13 PROGS = alscript msf2blc clus2blc alsnum fast2blc
18 $(CC) $(CFLAGS) $(ALOBJS) $(LFLAGS) alscript
19 msf2blc: msf2blc.o gjutil.o
20 $(CC) $(CFLAGS) msf2blc.o gjutil.o $(LFLAGS) msf2blc
21 clus2blc: clus2blc.o gjutil.o
22 $(CC) $(CFLAGS) clus2blc.o gjutil.o $(LFLAGS) clus2blc
23 fast2blc: fast2blc.o gjutil.o
24 $(CC) $(CFLAGS) fast2blc.o gjutil.o $(LFLAGS) fast2blc
25 alsnum: alsnum.o gjutil.o agetbloc.o
26 $(CC) $(CFLAGS) alsnum.o gjutil.o agetbloc.o $(LFLAGS) alsnum
28 alscript.o: alscript.c array.h gjutil.h version.h
29 $(CC) $(CFLAGS) -c alscript.c
31 alps.o: alps.c array.h gjutil.h version.h
32 $(CC) $(CFLAGS) -c alps.c
34 agetbloc.o: agetbloc.c array.h gjutil.h
35 $(CC) $(CFLAGS) -c agetbloc.c
37 gjutil.o: gjutil.c gjutil.h gjtimes.o
38 $(CC) $(CFLAGS) -c gjutil.c
40 gjtimes.o: gjtimes.c gjtimes.h
41 $(CC) $(CFLAGS) -c gjtimes.c
43 clus2blc.o: clus2blc.c array.h gjutil.h defaults.h
44 $(CC) $(CFLAGS) -c clus2blc.c
46 msf2blc.o: msf2blc.c array.h gjutil.h defaults.h
47 $(CC) $(CFLAGS) -c msf2blc.c
49 ckdd.o: ckdd.c array.h
50 $(CC) $(CFLAGS) -c ckdd.c
52 alsnum.o: alsnum.c array.h gjutil.h defaults.h
53 $(CC) $(CFLAGS) -c alsnum.c