annotate rDiff/src/locfit/Source/Makefile @ 0:0f80a5141704

version 0.3 uploaded
author vipints
date Thu, 14 Feb 2013 23:38:36 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
1 include ../../../bin/rdiff_config.sh
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
2
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
3 MEX=${RDIFF_MATLAB_MEX_PATH}
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
4 MKOCTFILE=${RDIFF_OCTAVE_MKOCT}
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
5 MATLAB_INCL=${RDIFF_MATLAB_INCLUDE_DIR}
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
6 LFSRC=liblfev.c liblocf.c libmut.c libtube.c
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
7 LIBDIR=../lib
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
8 INSTALLDIR=/usr/local
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
9 all: octave
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
10 octave:mexlf.mex mexpp.mex ../mex/mexlf.mex ../mex/mexpp.mex
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
11 matlab:mexlf mexpp
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
12
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
13 ../mex/mexlf.mex: mexlf.mex
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
14 cp mexlf.mex ../mex/
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
15 ../mex/mexpp.mex: mexpp.mex
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
16 cp mexpp.mex ../mex/
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
17
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
18 mexlf.mex: mexlf.c mlfut.c
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
19 ${MKOCTFILE} -v -g --mex $(MXFLAGS) $(CFLAGS) mexlf.c mlfut.c liblocf.c libmut.c libtube.c liblfev.c $(LDFLAGS)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
20 mexpp.mex: mexpp.c mlfut.c
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
21 ${MKOCTFILE} -v -g --mex $(MXFLAGS) $(CFLAGS) mexpp.c mlfut.c liblocf.c libmut.c libtube.c liblfev.c $(LDFLAGS)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
22
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
23 mexlf: mexlf.c mlfut.c
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
24 ${MEX} $(MXFLAGS) $(CFLAGS) mexlf.c mlfut.c $(LDFLAGS)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
25 mexpp: mexpp.c mlfut.c
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
26 ${MEX} $(MXFLAGS) $(CFLAGS) mexpp.c mlfut.c $(LDFLAGS)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
27 nodlls: mexlf.c mlfut.c mexpp.c $(LFSRC)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
28 ${MEX} $(MXFLAGS) mexlf.c mlfut.c $(LFSRC)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
29 ${MEX} $(MXFLAGS) mexpp.c mlfut.c $(LFSRC)
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
30 very-clean: clean
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
31 rm -f mexlf.mexglx mexpp.mexglx
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
32 clean:
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
33 rm -f *.o *.mex *.mexglx *.mexa64
0f80a5141704 version 0.3 uploaded
vipints
parents:
diff changeset
34 FORCE: