Skip to content

Commit

Permalink
Added make clean command
Browse files Browse the repository at this point in the history
Also added a .PHONY label.

There are some build systems which expect a clean command to exist.
  • Loading branch information
AddisonG authored Aug 2, 2022
1 parent b5f29e7 commit 14be9e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SOURCES = \
$(luadir)/version.lua \
$(NOTHING_ELSE)

.PHONY: all check clean

all: $(luadir)/version.lua

Expand All @@ -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:

0 comments on commit 14be9e1

Please sign in to comment.