-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 669 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 669 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
build-release: src/project.xml.log
cd src && \
make build-release
@cp src/build/cmake-build-release/compile_commands.json .
upload-release: src/project.xml.log
cd src && \
make upload-release
@cp src/build/cmake-build-release/compile_commands.json .
build-debug: src/project.xml.log
cd src && \
make build-debug
@cp src/build/cmake-build-release/compile_commands.json .
upload-debug: src/project.xml.log
cd src && \
make upload-debug
@cp src/build/cmake-build-release/compile_commands.json .
.PHONY: build-release
.PRECIOUS: src/project.xml.log
LBUILD_EXE?=lbuild
src/project.xml.log: src/project.xml
cd src && \
$(LBUILD_EXE) build && \
make cmake