summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-04-14 13:11:08 +0530
committerArun Isaac2022-04-14 13:11:08 +0530
commit4fb288ea19932f88dc7c555a1f7e407f0bba491d (patch)
treedd523e6a076f017cdd0eda34f7538f387c672de9
parent0f2aef1e491be8db3320fd61ef11ca95aaad9330 (diff)
downloadtissue-4fb288ea19932f88dc7c555a1f7e407f0bba491d.tar.gz
tissue-4fb288ea19932f88dc7c555a1f7e407f0bba491d.tar.lz
tissue-4fb288ea19932f88dc7c555a1f7e407f0bba491d.zip
Makefile: Add clean target.
* Makefile (.PHONY): Add clean. (clean): New target.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce6142c..d2105f1 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ scripts = $(wildcard bin/*)
scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/$(top_level_module_dir)
godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/$(top_level_module_dir)
-.PHONY: all check install
+.PHONY: all check install clean
all: $(objects)
@@ -49,3 +49,6 @@ install: $(scripts)
install -D $^ --target-directory $(bindir)
install -D $(sources) --target-directory $(scmdir)
install -D $(objects) --target-directory $(godir)
+
+clean:
+ rm -f $(objects)