mex.am 382 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
EXEEXT = $(MEXEXT)

CPPFLAGS += $(MATLAB_CPPFLAGS)
CPPFLAGS += -I$(top_srcdir)/../../sources

DEFS += $(MATLAB_DEFS)
DEFS += -DMATLAB_MEX_FILE

LDFLAGS += $(MATLAB_LDFLAGS)
LIBS += $(MATLAB_LIBS)

all-local:
13
	cd $(top_srcdir)/../../matlab && \
14
15
16
17
18
	for p in $(PROGRAMS); do \
		$(LN_S) -f $(abs_srcdir)/$$p $$p; \
	done

clean-local:
19
	cd $(top_srcdir)/../../matlab && rm -f $(PROGRAMS)