comparison rDiff/mex/Makefile @ 0:0f80a5141704

version 0.3 uploaded
author vipints
date Thu, 14 Feb 2013 23:38:36 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0f80a5141704
1 include ../bin/rdiff_config.sh
2
3 all: get_reads.mex interval_overlap.mex get_reads.mexa64 interval_overlap.mexa64
4 octave: get_reads.mex interval_overlap.mex
5 matlab: get_reads.mexa64 interval_overlap.mexa64
6
7
8 get_reads.mexa64: get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp
9 rm -f *.o
10 ${MATLAB_MEX_PATH} -g -O get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp -I${RDIFF_SAMTOOLS_INCLUDE_DIR} -L${RDIFF_SAMTOOLS_LIB_DIR} -lbam -lz -lcurses -I$(RDIFF_MATLAB_INCLUDE_DIR)
11
12 interval_overlap.mexa64: interval_overlap.cpp
13 ${MATLAB_MEX_PATH} -g -O interval_overlap.cpp -I$(RDIFF_MATLAB_INCLUDE_DIR)
14
15 get_reads.mex: get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp
16 rm -f *.o
17 ${RDIFF_OCTAVE_MKOCT} -g --mex get_reads.cpp get_reads_direct.cpp mex_input.cpp read.cpp -I${RDIFF_SAMTOOLS_INCLUDE_DIR} -L${RDIFF_SAMTOOLS_LIB_DIR} -lbam -lz -lcurses
18
19 interval_overlap.mex: interval_overlap.cpp
20 rm -f *.o
21 ${RDIFF_OCTAVE_MKOCT} -g --mex interval_overlap.cpp
22
23 clean:
24 rm -f *.o *.mexa64 *.mex