# # Makefile for Generic UNIX # # CAUTION: Make changes to Makefile (not makefile), then run # "make -f Makefile depend" before running "make all". # RANLIB=../gish/bin/ranlib #OPTIONS = -DREFINED_STATS DEFINES = ${OPTIONS} INCLUDES = -I.. -I../../gish/include -I../../ncbi/include CC = cc CCOPT = -O CFLAGS = $(CCOPT) ${INCLUDES} ${DEFINES} MKDEPFLAG = -M # Unbundled Sun Compiler is different #MKDEPFLAG = -xM SRC = blast.c alphabet.c str.c rescomp.c resfreq.c score.c karlin.c wordfind.c \ neighbor.c encoded.c search.c degen.c hsp.c span.c \ hitlist.c consistn.c evals.c pcnt.c consists.c sort.c filter.c \ util.c error.c vscore.c config.c consistp.c tools.c OBJ = blast.o alphabet.o str.o rescomp.o resfreq.o score.o karlin.o wordfind.o \ neighbor.o encoded.o search.o degen.o hsp.o span.o \ hitlist.o consistn.o evals.o pcnt.o consists.o sort.o filter.o \ util.o error.o vscore.o config.o consistp.o searchs.o tools.o all: ${OBJ} ../libblast.a clean: rm -f ${OBJ} ../libblast.a makefile makefile.old ../libblast.a: ${OBJ} ar cru $@ ${OBJ} $(RANLIB) $@ searchs.o: search.c $(CC) $(CFLAGS) -c -o searchs.o -DBLAST_STATS search.c depend: Makefile ${SRC} - mv -f makefile makefile.old @ sed -n -e '1,/[D]O NOT MAKE ANY CHANGES/p' Makefile > makefile @ echo "" >> makefile @ ${CC} ${CFLAGS} ${MKDEPFLAG} ${SRC} >> makefile #DO NOT MAKE ANY CHANGES ON OR BELOW THIS LINE