Debian Codegraph @

src/deps/miniasync/Makefile

raw
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2022, Intel Corporation
3
4 #
5 # src/deps/miniasync/makefile -- build miniasync
6 #
7
8 # WARNING: This file is created in the pmdk repository
9 # and doesn't belong to the pmem/miniasync repository.
10 #
11
12 dir = build
13
14 $(dir):
15 mkdir -p ./build
16
17 configure: | $(dir)
18 cd ./build && cmake .. -DCMAKE_BUILD_TYPE=Release
19
20 all: configure
21 mkdir -p ./build
22 cd ./build && make
23
24 clean: configure
25 cd ./build && make clean
26
27 clobber: | $(dir)
28 rm -r ./build