comparison deseq-hts_1.0/mex/Makefile @ 0:94a108763d9e draft

deseq-hts version 1.0 wraps the DESeq 1.6.0
author vipints
date Wed, 09 May 2012 20:43:47 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:94a108763d9e
1 include ../bin/deseq_config.sh
2
3 MEX=${MATLAB_MEX_PATH}
4 MKOCTFILE=${OCTAVE_MKOCT}
5 MATLAB_INCL=${MATLAB_INCLUDE_DIR}
6 SAMDIR=${SAMTOOLS_DIR}
7
8
9 all: get_reads.mex get_bam_properties.mex interval_overlap.mex get_reads.mexa64 get_bam_properties.mexa64 interval_overlap.mexa64
10 octave: get_reads.mex get_bam_properties.mex interval_overlap.mex
11 matlab: get_reads.mexa64 get_bam_properties.mexa64 interval_overlap.mexa64
12
13
14 get_reads.mexa64: get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp
15 rm -f *.o
16 ${MEX} -g -O get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp -I${SAMDIR} -L${SAMDIR} -lbam -lz -lcurses -I$(MATLAB_INCL)
17
18 get_bam_properties.mexa64: get_bam_properties.cpp
19 rm -f *.o
20 ${MEX} -g -O get_bam_properties.cpp -I$(MATLAB_INCL)
21
22 interval_overlap.mexa64: interval_overlap.cpp
23 ${MEX} -g -O interval_overlap.cpp -I$(MATLAB_INCL)
24
25 get_reads.mex: get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp
26 rm -f *.o
27 ${MKOCTFILE} -g --mex get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp -I${SAMDIR} -L${SAMDIR} -lbam -lz -lcurses
28
29 get_bam_properties.mex: get_bam_properties.cpp
30 rm -f *.o
31 ${MKOCTFILE} -g --mex get_bam_properties.cpp
32
33 interval_overlap.mex: interval_overlap.cpp
34 rm -f *.o
35 ${MKOCTFILE} -g --mex interval_overlap.cpp
36
37 clean:
38 rm -f *.o *.mexa64 *.mex