diff --git a/Makefile b/Makefile index 9207757..fa213d7 100755 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ all: ${TARGET} ${TARGET}: go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go +run: + bin/${TARGET} -listen 127.0.0.1:18123 -db . + install: install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET} install -Dm 0644 LICENSE ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE @@ -21,4 +24,8 @@ install: uninstall: rm ${DESTDIR}usr/bin/${TARGET} rm ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE - rm ${DESTDIR}${SYSDDIR}/${TARGET}.service \ No newline at end of file + rm ${DESTDIR}${SYSDDIR}/${TARGET}.service + +clean: + rm bin/${TARGET} + rm web/*.pug.go \ No newline at end of file