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/matlabPyrTools/MEX/Makefile-sun4 | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-sun4 (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-sun4') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-sun4 b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-sun4 new file mode 100755 index 0000000..432b181 --- /dev/null +++ b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-sun4 @@ -0,0 +1,39 @@ +MLAB = /home/alberich/matlab4 + +MXSFX = mex4 +MEX = ${MLAB}/bin/cmex + +MFLAGS = +INC = -I ${MLAB}/extern/include +LIB = -L ${MLAB}/extern/lib/sun4 + +CC = gcc +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