Skip to content
Snippets Groups Projects
Commit cd2d6265 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Makefile]: add gcc-% and test-% targets

parent 1c1b5b46
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,20 @@ clang-release:
BUILDTYPE=release \
BUILDDIR="build-$@"
.PHONY: gcc-%
gcc-%: GCC_VER=$(subst gcc-,,$@)
gcc-%:
rm -f build
$(MAKE) build \
CC=gcc-$(GCC_VER) CXX=g++-$(GCC_VER) \
BUILDDIR="build-$@"
.PHONY: test-%
test-%: TEST_BUILD=$(subst test-,,$@)
test-%:
$(MAKE) $(TEST_BUILD)
meson test -C build-$(TEST_BUILD)
.PHONY: fibril-locked
fibril-locked:
rm -f build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment