1 # Makefile for ALSCRIPT, msf2blc and clus2blc programs
3 # These programs require an ANSI C compiler
5 # This makefile is for gcc linux computers it should need only
6 # minor modifications to work on other computer types, e.g. Sun
7 # Dec etc. This also appears to work under cygwin, though you
8 # have to use the --unix flag to make.
13 CFLAGS = -O2 -I./ -I../gjutil/
15 ALOBJS = alscript.o alps.o ../gjutil/gjutil.o agetbloc.o ckdd.o ../gjutil/gjtimes.o
17 PROGS = alscript msf2blc clus2blc alsnum fast2blc
22 $(CC) $(CFLAGS) $(ALOBJS) $(LFLAGS) alscript
23 msf2blc: msf2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o
24 $(CC) $(CFLAGS) msf2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o $(LFLAGS) msf2blc
25 clus2blc: clus2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o
26 $(CC) $(CFLAGS) clus2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o $(LFLAGS) clus2blc
27 fast2blc: fast2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o
28 $(CC) $(CFLAGS) fast2blc.o ../gjutil/gjutil.o ../gjutil/gjtimes.o $(LFLAGS) fast2blc
29 alsnum: alsnum.o ../gjutil/gjutil.o agetbloc.o ../gjutil/gjtimes.o
30 $(CC) $(CFLAGS) alsnum.o ../gjutil/gjutil.o agetbloc.o ../gjutil/gjtimes.o $(LFLAGS) alsnum
33 alscript.o: alscript.c array.h ../gjutil/gjutil.h version.h
34 $(CC) $(CFLAGS) -c alscript.c
36 alps.o: alps.c array.h ../gjutil/gjutil.h version.h
37 $(CC) $(CFLAGS) -c alps.c
39 agetbloc.o: agetbloc.c array.h ../gjutil/gjutil.h
40 $(CC) $(CFLAGS) -c agetbloc.c
42 ../gjutil/gjutil.o: ../gjutil/gjutil.c ../gjutil/gjutil.h ../gjutil/gjtimes.o
43 (cd ../gjutil; $(CC) $(CFLAGS) -c gjutil.c gjtimes.o ; cd ../src)
45 ../gjutil/gjtimes.o: ../gjutil/gjtimes.c ../gjutil/gjtimes.h
46 (cd ../gjutil; $(CC) $(CFLAGS) -c gjtimes.c ; cd ../src)
48 clus2blc.o: clus2blc.c array.h ../gjutil/gjutil.h defaults.h
49 $(CC) $(CFLAGS) -c clus2blc.c
51 msf2blc.o: msf2blc.c array.h ../gjutil/gjutil.h defaults.h
52 $(CC) $(CFLAGS) -c msf2blc.c
54 fast2blc.o: fast2blc.c array.h ../gjutil/gjutil.h defaults.h
55 $(CC) $(CFLAGS) -c fast2blc.c
57 ckdd.o: ckdd.c array.h
58 $(CC) $(CFLAGS) -c ckdd.c
60 alsnum.o: alsnum.c array.h ../gjutil/gjutil.h defaults.h
61 $(CC) $(CFLAGS) -c alsnum.c