summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-06 20:07:33 +0100
committerAlejandro Colomar <alx@kernel.org>2024-02-06 20:07:42 +0100
commitb487f300d51ae7620d1b892c613bd0228d8d50ab (patch)
tree714d080f31fa37a2acd23afccfd8a2b60d822bee
parent46a366183244472fd97c8343dc10eb0d560de2d9 (diff)
downloadliba2i-b487f300d51ae7620d1b892c613bd0228d8d50ab.tar.gz
GNUmakefile: build: Make 'build' the .DEFAULT_GOAL
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6560580..aab2867 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -17,6 +17,9 @@ DATAROOTDIR := $(srcdir)/share
MAKEFILEDIR := $(DATAROOTDIR)/mk
+.DEFAULT_GOAL := build
+
+
.PHONY: all
all: lint build check
@:
@@ -30,7 +33,7 @@ help:
$(info )
$(info clean Remove $$(builddir))
$(info )
- $(info build Wrapper for "build-lib build-dev")
+ $(info build (.DEFAULT_GOAL) Wrapper for "build-lib build-dev")
$(info )
$(info build-deps Build the .d files)
$(info build-dev Wrapper for build-dev-* targets)