source:
proiecte/PPPP/ica/test/Makefile
@
138
Last change on this file since 138 was 138, checked in by , 14 years ago | |
---|---|
File size: 316 bytes |
Rev | Line | |
---|---|---|
[138] | 1 | MATLABROOT=/opt/matlab |
2 | MCC=$(MATLABROOT)/bin/mcc | |
3 | MBUILD=$(MATLABROOT)/bin/mbuild | |
4 | ||
5 | LIBNAME=partest | |
6 | ||
7 | DRIVER=pardriver.c | |
8 | ||
9 | MATLAB_FILES=parallel.m | |
10 | ||
11 | all: create_exec | |
12 | ||
13 | create_lib: $(MATLAB_FILES) | |
14 | $(MCC) -B csharedlib:lib$(LIBNAME) $^ -v | |
15 | ||
16 | create_exec: | |
17 | $(MBUILD) $(DRIVER) -L. -l$(LIBNAME) -I. | |
18 | ||
19 | clean: | |
20 | @rm lib$(LIBNAME)* |
Note: See TracBrowser
for help on using the repository browser.