aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bc57920
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+PREFIX?=/usr/local
+BINDIR?=$(PREFIX)/bin
+BIN=s4o
+
+all: build
+
+install: build
+ install -m755 ./bin/$(BIN) $(BINDIR)/$(BIN)
+
+build:
+ go build -v -o ./bin/$(BIN) ./cmd/s4o/main.go