summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-06-23 20:27:57 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-06-23 20:27:57 +0200
commitd0554a4fbbd238203835664eb60a556e95329d7b (patch)
treea3f2528e3f2ed1be9c4e89c4dadb0da067dfc7dd
parente10b409ef3ca36d6fa0006b29b6ddd922db9bd21 (diff)
More automatic clean
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d89486..d99d53c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,12 @@ endif
OUTPUTS = timerserver timerwp timerwaypoint timerstatus timerstop
-.PHONY: all install
+.PHONY: all clean install
-all: $(OUTPUTS)
+all: clean $(OUTPUTS)
+
+clean:
+ rm -f $(OUTPUTS)
install: all
@echo Installing to $(INSTALL_TARGET_DIR)...