summary refs log tree commit diff
diff options
context:
space:
mode:
authorTed Unangst <tedu@tedunangst.com>2019-01-16 06:09:18 -0500
committerTed Unangst <tedu@tedunangst.com>2019-01-16 06:09:18 -0500
commite941021c57c71d2ec19a8f1ecfa9dc6a6dbdffe1 (patch)
treed8fe22dde276c72cebaf84713476ebb63139d97d
parenta6bfc763bada7304f0aa26ac123e8d3597477467 (diff)
improve makefile v0.9.0
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ae1dcad..a9c819f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
-SRCS=miniwebproxy.go filter.go luainterface.go luafunctions.go
 
-miniwebproxy: $(SRCS)
-	go build $(SRCS)
+all: miniwebproxy
+
+miniwebproxy: *.go
+	go build
+
+clean:
+	rm -f miniwebproxy