0
|
1 LFSRC=liblfev.c liblocf.c libmut.c libtube.c
|
|
2 LIBDIR=../lib
|
|
3 INSTALLDIR=/usr/local
|
|
4 LDFLAGS=-L$(LIBDIR) -Wl,-rpath $(INSTALLDIR)/lib -llfev -ltube -llocf -lmut
|
|
5 CFLAGS=-I. -I../include
|
|
6 all: mexlf mexpp
|
|
7 mexlf: mexlf.c mlfut.c
|
|
8 mex $(MXFLAGS) $(CFLAGS) mexlf.c mlfut.c $(LDFLAGS)
|
|
9 mexpp: mexpp.c mlfut.c
|
|
10 mex $(MXFLAGS) $(CFLAGS) mexpp.c mlfut.c $(LDFLAGS)
|
|
11 nodlls: mexlf.c mlfut.c mexpp.c $(LFSRC)
|
|
12 mex $(MXFLAGS) mexlf.c mlfut.c $(LFSRC)
|
|
13 mex $(MXFLAGS) mexpp.c mlfut.c $(LFSRC)
|
|
14 very-clean: clean
|
|
15 rm -f mexlf.mexglx mexpp.mexglx
|
|
16 clean:
|
|
17 rm -f *.o
|
|
18 FORCE:
|
|
19
|