aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-10 23:36:39 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-11 00:58:31 +0100
commit6734c4408ffb67841115ca17d14d879043a3343e (patch)
treec1cdb11e698a71911dea63e9f01e34042662396d /Makefile
downloads4o-6734c4408ffb67841115ca17d14d879043a3343e.tar.gz
s4o-6734c4408ffb67841115ca17d14d879043a3343e.tar.bz2
s4o-6734c4408ffb67841115ca17d14d879043a3343e.zip
feat: Initial set up for static single sign on
This is a simple project to have a static site behind single sign on.
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