diff options
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux')
-rwxr-xr-x | SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux b/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux new file mode 100755 index 0000000..726dd31 --- /dev/null +++ b/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux | |||
@@ -0,0 +1,39 @@ | |||
1 | MLAB = /usr/local/matlab5.1 | ||
2 | |||
3 | MXSFX = mexlx | ||
4 | MEX = ${MLAB}/bin/mex | ||
5 | |||
6 | MFLAGS = -V4 | ||
7 | INC = -I ${MLAB}/extern/include | ||
8 | LIB = -L ${MLAB}/extern/lib | ||
9 | |||
10 | CC = gcc -Wall -pedantic | ||
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 | |||