[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireguard
Subject:    [PATCH 1/1] .DEFAULT_GOAL is a variable, not a target
From:       Ariel Otilibili Anieli <otilibil () eurecom ! fr>
Date:       2023-09-21 13:40:21
Message-ID: 20230921154021.vy0q428740gggsos () webmail ! eurecom ! fr
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic