Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes to Makefile #148

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
meson:
meson setup -Dbuild_tests=true -Dbuild_benchmarks=true --warnlevel 2 --werror --buildtype release builddir
test:
meson setup -Dbuild_tests=true --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja

mesondebug:
meson setup -Dbuild_tests=true -Dbuild_benchmarks=true --warnlevel 2 --werror --buildtype debug debug
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

install:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && meson install

clean:
$(RM) -rf $(TESTOBJS) $(BENCHOBJS) $(UTILOBJS) testexe benchexe builddir debug