From: Ariel Otilibili Anieli <otilibil@eurecom.fr>
To: wireguard@lists.zx2c4.com
Subject: [PATCH 1/1] .DEFAULT_GOAL is a variable, not a target
Date: Thu, 21 Sep 2023 15:40:21 +0200 [thread overview]
Message-ID: <20230921154021.vy0q428740gggsos@webmail.eurecom.fr> (raw)
Makefile has been working because, in the script, `wg` appears as
first target.
https://www.gnu.org/software/make/manual/html_node/Special-Variables.html
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 0533910..9f450e7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -108,7 +108,7 @@ check: clean
scan-build --html-title=wireguard-tools -maxloop 100 --view
--keep-going $(MAKE) wg
all: wg
-.DEFAULT_GOAL: all
+.DEFAULT_GOAL := all
.PHONY: clean install check
-include *.d
--
2.42.0
-------------------------------------------------------------------------------
This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
reply other threads:[~2023-10-23 14:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230921154021.vy0q428740gggsos@webmail.eurecom.fr \
--to=otilibil@eurecom.fr \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).