From 3613af0eca759e9753117f7454452b999a9b6ac8 Mon Sep 17 00:00:00 2001 From: Addison G Date: Wed, 3 Aug 2022 08:58:50 +1000 Subject: [PATCH] Added make clean command Also added a .PHONY label. There are some build systems which expect a clean command to exist. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index ace2fdb..05a6b19 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ SOURCES = \ $(luadir)/version.lua \ $(NOTHING_ELSE) +.PHONY: all check clean all: $(luadir)/version.lua @@ -40,5 +41,9 @@ CHECK_ENV = LUA=$(LUA) check: $(SOURCES) LUA=$(LUA) $(SPECL) --unicode $(SPECL_OPTS) spec/*_spec.yaml +clean: + rm -f $(luadir)/version.lua + rm -rf doc/ + rm -f build-aux/config.ld .FORCE: