-
Notifications
You must be signed in to change notification settings - Fork 59
/
Makefile
30 lines (23 loc) · 903 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
test:
meson setup -Dbuild_tests=true -Duse_openmp=false --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
test_openmp:
meson setup -Dbuild_tests=true -Duse_openmp=true --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
bench:
meson setup -Dbuild_benchmarks=true --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
debug:
meson setup -Dbuild_tests=true --warnlevel 2 --werror --buildtype debug debug
cd debug && ninja
sharedlib:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
staticlib:
meson setup -Dlib_type=static --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
install:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && meson install
clean:
$(RM) -rf $(TESTOBJS) $(BENCHOBJS) $(UTILOBJS) testexe benchexe builddir debug