File: makefile

package info (click to toggle)
libics 1.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,280 kB
  • sloc: sh: 8,735; ansic: 5,994; makefile: 125
file content (32 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright (C) 2000-2007 Cris Luengo and others
# email: clluengo@users.sourceforge.net
#
# Makefile to compile matlab interface under Win32
#

ARCH = win32
MEXEXT = dll

MATLAB_ROOT = C:\MATLAB701
ZLIB_ROOT = ..\..\..\vc_zlib-1.2.3
ICS_ROOT = ..\..
LIBPATH = $(ICS_ROOT)
INCLUDEPATH = $(ICS_ROOT)

MEX = $(MATLAB_ROOT)\bin\win32\mex

MEXFLAGS = -DWIN32

all : icswrite.$(MEXEXT) icsread.$(MEXEXT)
  @echo Done!

icsread.$(MEXEXT): icsread.c $(LIBPATH)\libics.lib $(ZLIB_ROOT)\zlib.lib
  $(MEX) $(MEXFLAGS) -output icsread -I$(INCLUDEPATH) -O $**  


icswrite.$(MEXEXT): icswrite.c $(LIBPATH)\libics.lib $(ZLIB_ROOT)\zlib.lib
  $(MEX) $(MEXFLAGS) -output icswrite -I$(INCLUDEPATH) -O $**  

clean:
  @-del /q *.$(MEXEXT)