-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 712 Bytes
/
Copy pathMakefile
File metadata and controls
36 lines (25 loc) · 712 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
# NOTE: We use Bazel as the build system. This Makefile is just a wrapper for good tab completion in the shell.
# cpp_base configuration: do not edit this section.
MAKEFLAGS+=--always-make # we use bazel as the build system, so we want to always build. Equal to '.PHONY: *'.
SHELL=/bin/bash
.SHELLFLAGS="-O extglob -c"
# repo configuration:
# ...
#
# cpp_base targets: do not edit this section.
#
__default__: default
compile_commands.json:
bazelisk run refresh_compile_commands
clean:
bazelisk clean --expunge
format:
bash "script/clang_format.sh"
#
# targets:
#
default: cc_embed_codegen test
cc_embed_codegen:
bazelisk build cc_embed_codegen
test:
bazelisk test test --cache_test_results=no