From 3e75f88d804598041dbcf4f3139d91c283acdeef Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 6 Feb 2020 14:03:38 -0500 Subject: finish adding flags --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.3