From 8748d76e809ea3cbd3ddc12f58c888b362619a27 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 17 May 2024 02:59:23 -0300 Subject: build: add a standalone strip target Move the strip invocation into its own target to allow stripping binaries without having to run the "realinstall" target. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 158a3c222..c3b6ca243 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,10 @@ mydirs: $(MYDIRS) $(MYDIRS): $(MAKE) -C $@ +.PHONY: strip +strip: all + strip $(ALL_ITEMS) + .PHONY: filters filters: $(SECCOMP_FILTERS) seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize Makefile @@ -273,8 +277,7 @@ install: all $(MAKE) realinstall .PHONY: install-strip -install-strip: all - strip $(ALL_ITEMS) +install-strip: strip $(MAKE) realinstall .PHONY: uninstall -- cgit v1.2.3-70-g09d2