summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux
diff options
context:
space:
mode:
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux')
-rwxr-xr-xSD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/Makefile-linux39
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 @@
1MLAB = /usr/local/matlab5.1
2
3MXSFX = mexlx
4MEX = ${MLAB}/bin/mex
5
6MFLAGS = -V4
7INC = -I ${MLAB}/extern/include
8LIB = -L ${MLAB}/extern/lib
9
10CC = gcc -Wall -pedantic
11C_OPTIMIZE_SWITCH = -O2 ## For GCC
12CFLAGS = ${C_OPTIMIZE_SWITCH} ${INC} ${LIB}
13
14all: corrDn.${MXSFX} upConv.${MXSFX} pointOp.${MXSFX} \
15 histo.${MXSFX} range2.${MXSFX}
16
17clean:
18 /bin/rm *.o
19
20corrDn.${MXSFX}: corrDn.o wrap.o convolve.o edges.o
21 ${MEX} ${MFLAGS} corrDn.o wrap.o convolve.o edges.o
22
23upConv.${MXSFX}: upConv.o wrap.o convolve.o edges.o
24 ${MEX} ${MFLAGS} upConv.o wrap.o convolve.o edges.o
25
26pointOp.${MXSFX}: pointOp.o
27 ${MEX} ${MFLAGS} pointOp.o
28
29histo.${MXSFX}: histo.o
30 ${MEX} ${MFLAGS} histo.o
31
32range2.${MXSFX}: range2.o
33 ${MEX} ${MFLAGS} range2.o
34
35convolve.o wrap.o edges.o: convolve.h
36
37%.o : %.c
38 ${CC} -c ${CFLAGS} $<
39