| 1 |
# -*- makefile -*- |
| 2 |
|
| 3 |
LIBUTL/ :=$(realpath $/../libutil/)/ |
| 4 |
LIBBIO/ :=$(realpath $/../libbio/)/ |
| 5 |
LIBSEQ/ :=$(realpath $/../libseq/)/ |
| 6 |
LIBMERYL/ :=$(realpath $/../libmeryl/)/ |
| 7 |
LIBKMER/ :=$(realpath $/../libkmer/)/ |
| 8 |
LIBSIM4/ :=$(realpath $/../libsim4/)/ |
| 9 |
|
| 10 |
src := $/searchGENOME.C \ |
| 11 |
$/configuration.C \ |
| 12 |
$/encodedQuery.C \ |
| 13 |
$/thr-deadlock.C \ |
| 14 |
$/thr-loader.C \ |
| 15 |
$/thr-search.C \ |
| 16 |
$/thr-output.C \ |
| 17 |
$/hitMatrix-sort.C \ |
| 18 |
$/aHit.H \ |
| 19 |
$/aHit.C \ |
| 20 |
$/hitMatrix.H \ |
| 21 |
$/posix.H \ |
| 22 |
$/searchGENOME.H |
| 23 |
src_C := $(filter %.C,${src}) |
| 24 |
other_C := $/hitConverter.C \ |
| 25 |
$/filterEST.C \ |
| 26 |
$/filterEST-complicated.C \ |
| 27 |
$/filterMRNA.C \ |
| 28 |
$/filterNULL.C \ |
| 29 |
$/sortHits.C \ |
| 30 |
$/filtertest.C \ |
| 31 |
$/hitReader.C |
| 32 |
|
| 33 |
$/.CXX_SRCS := ${src_C} ${other_C} $/hitMatrix.C |
| 34 |
$/.CXX_EXES := $/seagen \ |
| 35 |
$/hitConverter \ |
| 36 |
$/filterEST $/filterMRNA $/filterNULL $/filtertest \ |
| 37 |
$/sortHits $/filterESTsimple |
| 38 |
|
| 39 |
$/.CLEAN :=$/*.o |
| 40 |
|
| 41 |
$(eval $/%.d $/%.o: CXXFLAGS+=-I${LIBKMER/} -I${LIBBIO/} -I${LIBSEQ/} -I${LIBUTL/}) |
| 42 |
|
| 43 |
$/seagen: $/hitMatrix.o |
| 44 |
|
| 45 |
$/seagen: ${src_C:.C=.o} \ |
| 46 |
${LIBKMER/}libkmer.a ${LIBMERYL/}libmeryl.a ${LIBSEQ/}libseq.a ${LIBBIO/}libbio.a ${LIBUTL/}libutil.a |
| 47 |
|
| 48 |
$/hitConverter: $/hitConverter.o $/aHit.o ${LIBUTL/}libutil.a |
| 49 |
$/filterEST: $/filterEST.o $/filterEST-complicated.o $/hitReader.o $/aHit.o ${LIBUTL/}libutil.a |
| 50 |
$/filterESTsimple: $/filterESTsimple.o $/hitReader.o $/aHit.o ${LIBUTL/}libutil.a |
| 51 |
$/filterMRNA: $/filterMRNA.o $/hitReader.o $/aHit.o ${LIBUTL/}libutil.a |
| 52 |
$/filterNULL: $/filterNULL.o $/hitReader.o $/aHit.o ${LIBUTL/}libutil.a |
| 53 |
$/sortHits: $/sortHits.o $/aHit.o ${LIBBIO/}libbio.a ${LIBUTL/}libutil.a |
| 54 |
$/filtertest: $/filtertest.o |