-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
57 lines (48 loc) · 1.5 KB
/
Makefile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This Makefile lets you build the project and its documentation, run tests,
# package it for distribution, and so on.
#
# This is mostly provided just as a convenience for developers who like using 'make'.
# All the actual build logic is in the dev-kit/*.m files, which can be run
# directly, without using 'make'.
#
# Targets provided:
#
# make docs - Build the Markdown-stage doco in docs/ from docs-src/ etc
# make doc - Build the final static doco into doc/ from docs/
#
# make test - Run the project Matlab unit tests
#
# make dist - Build all the project distribution files
# make toolbox - Build the project distribution Matlab Toolbox .mltbx file
# make zips - Build the project distribution zip files
#
# make clean - Remove derived files
.PHONY: test
test:
./bin/_mlxshake_run_matlab "mlxshake_make test"
.PHONY: build
build:
./bin/_mlxshake_run_matlab "mlxshake_make build"
# Build the programmatically-generated parts of the _source_ files for the doco
.PHONY: docs
docs:
./bin/_mlxshake_run_matlab "mlxshake_make docs"
# Build the actual output documents
.PHONY: doc
doc:
./bin/_mlxshake_run_matlab "mlxshake_make doc"
.PHONY: m-doc
m-doc:
./bin/_mlxshake_run_matlab "mlxshake_make m-doc"
.PHONY: toolbox
toolbox: m-doc
./bin/_mlxshake_run_matlab "mlxshake_make toolbox"
.PHONY: zips
zips:
./bin/_mlxshake_run_matlab "mlxshake_make zips"
.PHONY: dist
dist:
./bin/_mlxshake_run_matlab "mlxshake_make dist"
.PHONY: clean
clean:
./bin/_mlxshake_run_matlab "mlxshake_make clean"