################################################################ # Makefile for HMMER testsuite # CVS $Id: Makefile.in,v 1.1.1.1 2005/03/22 08:34:49 cmzmasek Exp $ ########## # HMMER - Biological sequence analysis with profile HMMs # Copyright (C) 1992-1999 Washington University School of Medicine # All Rights Reserved # # This source code is distributed under the terms of the # GNU General Public License. See the files COPYING and LICENSE # for details. ########### CC = @CC@ CFLAGS = @CFLAGS@ MDEFS = @MDEFS@ @DEFS@ # Configuration for optional pthreads multiprocessor support # PTHREAD_LIBS = @PTHREAD_LIBS@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ SHELL = /bin/sh MYLIBS = -lhmmer -lsquid LIBS = @LIBS@ -lm SHIVA = alignalign_test\ evd_test\ masks_test\ parsingviterbi_test\ tophits_test\ trace_test\ viterbi_exercise\ weeviterbi_test ####### ## Targets defining how to make Shiva executables. ####### .c.o: $(CC) $(CFLAGS) $(PTHREAD_CFLAGS) $(MDEFS) -I../squid -I../src -c $< all: $(SHIVA) $(SHIVA): @EXEC_DEPENDENCY@ $(CC) $(CFLAGS) $(PTHREAD_CFLAGS) $(MDEFS) -o $@ -L../squid -L../src $@.o $(MYLIBS) $(PTHREAD_LIBS) $(LIBS) ####### ## `make check` actually runs the tests. ####### check: $(SHIVA) @echo @echo Running compiled Shiva exercises: @echo Warning: some tests may take several minutes to complete. @for shivatest in $(SHIVA); do\ if ./$$shivatest; then\ echo $$shivatest: ok;\ else\ echo $$shivatest: FAILED;\ fi;\ done @echo @echo Running scripted Shiva exercises: @echo Warning: This also may take several minutes. perl ./Optiontests.pl sh ./Exercises.sh ####### ## Miscellaneous ####### clean: -rm -f *.o *~ Makefile.bak core $(SHIVA) TAGS gmon.out distclean: make clean -rm -f Makefile TAGS: etags -t *.c *.h Makefile.in