diff mbox series

[RFC,v2,06/17] Makefile: add PHONY targets

Message ID 20250107134606.37260-6-cgoettsche@seltendoof.de (mailing list archive)
State New
Delegated to: Ondrej Mosnáček
Headers show
Series [RFC,v2,01/17] Fix typos | expand

Commit Message

Christian Göttsche Jan. 7, 2025, 1:45 p.m. UTC
From: Christian Göttsche <cgzones@googlemail.com>

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

Patch

diff --git a/Makefile b/Makefile
index 8d6227a..ecde287 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@ 
 SUBDIRS = policy tests 
 
+.PHONY: all check-syntax clean test
+
 all:
 	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i all ; done
 
diff --git a/policy/Makefile b/policy/Makefile
index 46e51f3..2896aee 100644
--- a/policy/Makefile
+++ b/policy/Makefile
@@ -180,6 +180,8 @@  ifeq ($(shell [ $(POL_VERS) -ge 34 -a $(MAX_KERNEL_POLICY) -ge 34 ] && echo true
 TARGETS += test_ioctl_cond_xperms.te
 endif
 
+.PHONY: all build clean expand_check load unload
+
 all: build
 
 expand_check: