diff options
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-osx')
| -rwxr-xr-x | SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-osx | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-osx b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-osx new file mode 100755 index 0000000..352d15b --- /dev/null +++ b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/MEX/Makefile-osx | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | MLAB = /share/wotan/matlab13 | ||
| 2 | |||
| 3 | MXSFX = mexosx | ||
| 4 | MEX = ${MLAB}/bin/mex | ||
| 5 | |||
| 6 | MFLAGS = | ||
| 7 | INC = -I ${MLAB}/extern/include | ||
| 8 | LIB = -L ${MLAB}/extern/lib | ||
| 9 | |||
| 10 | CC = cc -Wall -pedantic -no-cpp-precomp | ||
| 11 | C_OPTIMIZE_SWITCH = -O2 ## For GCC | ||
| 12 | CFLAGS = ${C_OPTIMIZE_SWITCH} ${INC} ${LIB} | ||
| 13 | |||
| 14 | all: corrDn.${MXSFX} upConv.${MXSFX} pointOp.${MXSFX} \ | ||
| 15 | histo.${MXSFX} range2.${MXSFX} | ||
| 16 | |||
| 17 | clean: | ||
| 18 | /bin/rm *.o | ||
| 19 | |||
| 20 | corrDn.${MXSFX}: corrDn.o wrap.o convolve.o edges.o | ||
| 21 | ${MEX} ${MFLAGS} corrDn.o wrap.o convolve.o edges.o | ||
| 22 | |||
| 23 | upConv.${MXSFX}: upConv.o wrap.o convolve.o edges.o | ||
| 24 | ${MEX} ${MFLAGS} upConv.o wrap.o convolve.o edges.o | ||
| 25 | |||
| 26 | pointOp.${MXSFX}: pointOp.o | ||
| 27 | ${MEX} ${MFLAGS} pointOp.o | ||
| 28 | |||
| 29 | histo.${MXSFX}: histo.o | ||
| 30 | ${MEX} ${MFLAGS} histo.o | ||
| 31 | |||
| 32 | range2.${MXSFX}: range2.o | ||
| 33 | ${MEX} ${MFLAGS} range2.o | ||
| 34 | |||
| 35 | convolve.o wrap.o edges.o: convolve.h | ||
| 36 | |||
| 37 | %.o : %.c | ||
| 38 | ${CC} -c ${CFLAGS} $< | ||
| 39 | |||
