summaryrefslogtreecommitdiff
path: root/Makefile
blob: e12d79d0dd5af283b55fb3ff52d691586a9e23ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SOURCES=$(wildcard *.go) $(wildcard */*.go)
BINARY=pgqt

$(BINARY): $(SOURCES)
	go build -o $@ .

.PHONY: run
run: $(BINARY)
	./$(BINARY) 2>>/tmp/pgqt.log

.PHONY: clean
clean:
	rm -f $(BINARY)