diff --git a/Makefile b/Makefile index 00bb385..3757137 100755 --- a/Makefile +++ b/Makefile @@ -10,12 +10,15 @@ all: ${TARGET} .PHONY: ${TARGET} install uninstall -${TARGET}: +gen: go generate web/web.go + + +${TARGET}: go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go run: - bin/${TARGET} -listen 127.0.0.1:18123 -db . + bin/${TARGET} -listen 127.0.0.1:18123 -db . -gb-owner Arav -gb-pagesz 10 install: install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET}