diff options
author | Tom Willemse | 2013-05-27 22:40:28 +0200 |
---|---|---|
committer | Tom Willemse | 2013-05-27 22:40:37 +0200 |
commit | e027f3c7e6db96535e2515d6e65389a5079e0a82 (patch) | |
tree | 38fed19be886b73c664a6aa2079c3e2abbc01362 /gitto | |
parent | 7f6037855dbfb16e5c05c29fd1eaeba14c4dfabb (diff) | |
download | gitto-e027f3c7e6db96535e2515d6e65389a5079e0a82.tar.gz gitto-e027f3c7e6db96535e2515d6e65389a5079e0a82.zip |
Add clean make target
Diffstat (limited to 'gitto')
-rw-r--r-- | gitto/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gitto/Makefile b/gitto/Makefile index 85657f4..ba060fc 100644 --- a/gitto/Makefile +++ b/gitto/Makefile @@ -8,7 +8,8 @@ objects = config.scm config.go git.scm git.go ui.scm ui.go main.scm \ install-objects = $(addprefix install-,$(objects)) uninstall-objects = $(addprefix uninstall-,$(objects)) -.PHONY: all install $(install-objects) uninstall $(uninstall-objects) +.PHONY: all install $(install-objects) uninstall $(uninstall-objects) \ + clean all: $(filter %.go,$(objects)) @@ -29,3 +30,6 @@ $(filter %.go,$(uninstall-objects)): uninstall-%: $(filter %.scm,$(uninstall-objects)): uninstall-%: rm -f "$(SITEDIR)/gitto/$*" + +clean: + rm -f *.go |