1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
# Protomat Makefile for Sun Solaris 2.6
# Type "make install" to compile all programs and move them to ../bin
# Type "make blksort" to compile blksort program
CC = gcc
CFLAGS = -Wall -O2 -c
LDFLAGS = -lm -o
RM = /bin/rm -f
MV = /bin/mv -f
CP = cp -af
BIN := blksort getblock getseq multimat motifj motomat uextract blosum blastdat
#
all: $(BIN)
#
install: $(BIN)
$(CP) blksort ../bin
$(CP) getblock ../bin
$(CP) getseq ../bin
$(CP) multimat ../bin
$(CP) motifj ../bin
$(CP) motomat ../bin
$(CP) uextract ../bin
$(CP) blosum ../bin
$(CP) blastdat ../bin
clean:
$(RM) *.o $(BIN)
# blksort: Analyze results of a BLOCKS search
blksort: blksort.o motmisc.o
$(CC) blksort.o motmisc.o $(LDFLAGS) blksort
# getblock: Retrieve BLOCKs
getblock: getblock.o motmisc.o
$(CC) getblock.o motmisc.o $(LDFLAGS) getblock
# getseq: Retrieve a sequence
getseq: getseq.o motmisc.o
$(CC) getseq.o motmisc.o $(LDFLAGS) getseq
# multimat: Analyze results of a MATRIX search
multimat: multimat.o motmisc.o
$(CC) multimat.o motmisc.o $(LDFLAGS) multimat
# motifj: Make blocks using Ham Smith's motif algorithm
motifj: motifj.o motmisc.o
$(CC) motifj.o motmisc.o $(LDFLAGS) motifj
# motomat: Assemble blocks from motifj
motomat: motomat.o motmisc.o
$(CC) motomat.o motmisc.o $(LDFLAGS) motomat
# uextract: Extract protein families from prosite.dat
uextract: uextract.o motmisc.o
$(CC) uextract.o motmisc.o $(LDFLAGS) uextract
# blosum: Make substitution matrices from blocks
blosum: blosum.o motmisc.o
$(CC) blosum.o motmisc.o $(LDFLAGS) blosum
# blastdat: Read blast output
blastdat: blastdat.o motmisc.o
$(CC) blastdat.o motmisc.o $(LDFLAGS) blastdat
#
blksort.o: blksort.c motifj.h
$(CC) $(CFLAGS) blksort.c
getblock.o: getblock.c motifj.h
$(CC) $(CFLAGS) getblock.c
getseq.o: getseq.c motifj.h
$(CC) $(CFLAGS) getseq.c
multimat.o: multimat.c motifj.h
$(CC) $(CFLAGS) multimat.c
motifj.o: motifj.c motifj.h
$(CC) $(CFLAGS) motifj.c
motomat.o: motomat.c motifj.h
$(CC) $(CFLAGS) motomat.c
uextract.o: uextract.c motifj.h
$(CC) $(CFLAGS) uextract.c
blosum.o: blosum.c motifj.h
$(CC) $(CFLAGS) blosum.c
blastdat.o: blastdat.c motifj.h
$(CC) $(CFLAGS) blastdat.c
#
motmisc.o: motmisc.c motifj.h
$(CC) $(CFLAGS) motmisc.c
#
#
|