From 5ac522f0deb1cbf55fe4a6f3dde68199760541ef Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sun, 18 Jun 2023 01:23:54 -0700 Subject: [PATCH] Add `make clean` build rule --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4185f5682..613f71211 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ MAKEFLAGS += --no-builtin-rules .SUFFIXES: .DELETE_ON_ERROR: .FEATURES: output-sync -.PHONY: all o bins check test depend tags aarch64 +.PHONY: all o bins check test depend tags aarch64 clean ifneq ($(m),) ifeq ($(MODE),) @@ -431,6 +431,9 @@ aarch64: private .UNSANDBOXED = true aarch64: $(MAKE) m=aarch64 +clean: + rm -rf o + # UNSPECIFIED PREREQUISITES TUTORIAL # # A build rule must exist for all files that make needs to consider in