-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 804 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 804 Bytes
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
# Copyright (c) 2025 Riverside Research.
# LGPL-3; See LICENSE.txt in the repo root for details.
SHELL := /bin/bash
all: build
.PHONY: build check test install clean
configure:
cmake -Bbuild -GNinja
build: configure-default
cmake --build build
configure-default:
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=
build-release: configure-release
cmake --build build
configure-release:
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release
check: configure
cmake --build build --target check
test: configure
cmake --build build --target test-CVEAssert test-libresolve
install: configure
cmake --install build
install-local: configure
cmake --install build --prefix install
clean:
rm -rf build/
.PHONY: install-deps
install-deps:
chmod u+x ./scripts/install-deps.sh
./scripts/install-deps.sh