summaryrefslogtreecommitdiff
path: root/Makefile
blob: 53e0529e49a4ba86529aeedf0f29d125e43983ce (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) postgres://postgres:password@localhost/postgres?sslmode=disable 2>>/tmp/pgqt.log

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