-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
39 lines (27 loc) · 822 Bytes
/
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
.PHONY: clean clean_examples default test compile install examples
include config/set_config
default: install examples
compile: | build
meson compile -C build
build: | meson_options.txt Dynamic_HD_Scripts/Dynamic_HD_Scripts/bin
meson setup --native-file $(SYSTEM_CONFIG_FILE) build
install: compile
meson install -C build
meson_options.txt:
ln -s meson.options meson_options.txt
Dynamic_HD_Scripts/Dynamic_HD_Scripts/bin:
mkdir Dynamic_HD_Scripts/Dynamic_HD_Scripts/bin
clean:
rm -rf build
rm -rf bin
rm -rf lib
examples: | run/examples
run/examples:
cd run && \
mkdir examples && \
export PYTHONPATH=../utils/run_utilities:${PYTHONPATH} && \
python ../utils/run_utilities/generate_examples.py configs_for_examples.cfg
clean_examples:
rm -rf run/examples
test:
meson test -C build