aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-02-06 14:03:38 -0500
committerBen Burwell <ben@benburwell.com>2020-02-06 14:03:38 -0500
commit3e75f88d804598041dbcf4f3139d91c283acdeef (patch)
tree061cae6d54305891a64bfe3d914fdff3a281e373 /Makefile
parente8a58306f21ec14582b0b19cf34065c5aa4c6351 (diff)
finish adding flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b9a7829
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+SOURCES=$(wildcard *.go) $(wildcard */*.go)
+NAME=wx
+BINDIR=/usr/bin
+
+$(NAME): $(SOURCES)
+ go build -o $(NAME) .
+
+.PHONY: clean
+clean:
+ rm -f $(NAME)
+
+.PHONY: install
+install:
+ install -m755 $(NAME) $(BINDIR)