forked from boxlite-ai/boxlite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (22 loc) · 798 Bytes
/
Makefile
File metadata and controls
25 lines (22 loc) · 798 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
include make/vars.mk
include make/help.mk
include make/clean.mk
include make/setup.mk
include make/build.mk
include make/dist.mk
include make/dev.mk
include make/changes.mk
include make/test.mk
include make/coverage.mk
include make/quality.mk
.DEFAULT_GOAL := help
.PHONY: $(PHONY_TARGETS)
# Workaround for macOS Make 3.81 which bifurcates \: targets into two entries:
# one with backslash (gets .PHONY but no recipe) and one without (gets recipe).
# By NOT marking colon targets as .PHONY, the backslash versions have no recipe,
# no file, and are not phony — so .DEFAULT fires and re-invokes with the clean name.
.DEFAULT:
@case "$@" in \
*\\*) $(MAKE) --no-print-directory $$(echo "$@" | tr -d '\\') ;; \
*) echo "make: *** No rule to make target '$@'. Stop." >&2; exit 2 ;; \
esac