From f618466c25d43f3bae9e40920273bf77de1e1149 Mon Sep 17 00:00:00 2001 From: leochanj105 Date: Mon, 19 Oct 2020 23:09:30 -0400 Subject: initial sd-vbs initial sd-vbs add sd-vbs sd-vbs --- .../src/matlab/MEX/Makefile-ml6-linux | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-ml6-linux (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-ml6-linux') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-ml6-linux b/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-ml6-linux new file mode 100755 index 0000000..f596ad7 --- /dev/null +++ b/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-ml6-linux @@ -0,0 +1,39 @@ +MLAB = /usr/local/matlab6.0 + +MXSFX = mexglx +MEX = ${MLAB}/bin/mex + +MFLAGS = -V4 +INC = -I ${MLAB}/extern/include +LIB = -L ${MLAB}/extern/lib + +CC = gcc -Wall -pedantic +C_OPTIMIZE_SWITCH = -O2 ## For GCC +CFLAGS = ${C_OPTIMIZE_SWITCH} ${INC} ${LIB} + +all: corrDn.${MXSFX} upConv.${MXSFX} pointOp.${MXSFX} \ + histo.${MXSFX} range2.${MXSFX} + +clean: + /bin/rm *.o + +corrDn.${MXSFX}: corrDn.o wrap.o convolve.o edges.o + ${MEX} ${MFLAGS} corrDn.o wrap.o convolve.o edges.o + +upConv.${MXSFX}: upConv.o wrap.o convolve.o edges.o + ${MEX} ${MFLAGS} upConv.o wrap.o convolve.o edges.o + +pointOp.${MXSFX}: pointOp.o + ${MEX} ${MFLAGS} pointOp.o + +histo.${MXSFX}: histo.o + ${MEX} ${MFLAGS} histo.o + +range2.${MXSFX}: range2.o + ${MEX} ${MFLAGS} range2.o + +convolve.o wrap.o edges.o: convolve.h + +%.o : %.c + ${CC} -c ${CFLAGS} $< + -- cgit v1.2.2