diff mbox series

[06/17] Makefile: add PHONY targets

Message ID 20241118150256.135432-7-cgoettsche@seltendoof.de (mailing list archive)
State New
Headers show
Series [01/17] Fix typos | expand

Commit Message

Christian Göttsche Nov. 18, 2024, 3:02 p.m. UTC
From: Christian Göttsche <cgzones@googlemail.com>

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 Makefile        | 2 ++
 policy/Makefile | 2 ++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 8d6227a..fc58613 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@ 
 SUBDIRS = policy tests 
 
+.PHONY: all test check-syntax clean
+
 all:
 	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i all ; done
 
diff --git a/policy/Makefile b/policy/Makefile
index 32d7ede..a525b0e 100644
--- a/policy/Makefile
+++ b/policy/Makefile
@@ -175,6 +175,8 @@  ifeq ($(shell grep -q user_namespace $(POLDEV)/include/support/all_perms.spt &&
 export M4PARAM += -Duser_namespace_defined
 endif
 
+.PHONY: all expand_check build load unload clean
+
 all: build
 
 expand_check: