aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-02-24 23:51:33 -0700
committerJordan <me@jordan.im>2021-02-24 23:51:33 -0700
commit6fba4c80ed803fb806d03ea740c1035725b7f282 (patch)
tree3258ea8b4f7a5f645ba3a4efb088ea5a1b845321 /Makefile
downloadtent-6fba4c80ed803fb806d03ea740c1035725b7f282.tar.gz
tent-6fba4c80ed803fb806d03ea740c1035725b7f282.zip
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..52aeb31
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+.POSIX:
+.SUFFIXES:
+
+GO = go
+RM = rm
+GOFLAGS =
+PREFIX = /usr/local
+BINDIR = $(PREFIX)/bin
+
+goflags = $(GOFLAGS)
+
+all: tent
+
+tent:
+ $(GO) build $(goflags)
+
+clean:
+ $(RM) -f tent
+
+install: all
+ mkdir -p $(DESTDIR)$(BINDIR)
+ cp -f tent $(DESTDIR)$(BINDIR)
+