From 47eab1a098433232e3e6a643616dd25bd02c1692 Mon Sep 17 00:00:00 2001 From: Luka Teras Date: Fri, 3 Jan 2025 00:57:26 +0000 Subject: [PATCH] `Makefile`: add `clean` and `.PHONY` --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 3f92d2e..cb76437 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,11 @@ default: nanoidgen all: nanoidgen pub/man.pdf pub/man/nanoid.3.html pub/man/nanoidgen.1.html \ pub/openbsd/man.pdf pub/openbsd/man/nanoid.3.html +clean: + rm -r pub nanoidgen + +.PHONY: default all clean + pub: mkdir -p $@