aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b9a782917d60f3e48c5ad00b7e6a54c5e85883ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)