diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2019-08-12 14:49:32 +0200 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2019-08-12 14:49:32 +0200 |
commit | 88b50033d0e9808a4657ff56835c6dacc77cd433 (patch) | |
tree | 77bceb02fe66819f25f5e4d890c4e7325cc62f48 | |
parent | 0202d1c4102860dd99f9aed72557c4cdf7ed983b (diff) |
make build the default
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,14 +19,14 @@ LDFLAGS += -B ${BUILDID} BUILD_DATE ?= `date +%FT%T%z` LDFLAGS += -X main.BUILD_DATE=${BUILD_DATE} -clean: - -rm -r ${WRKDIR} - build: clean mkdir -p ${WRKDIR} GOOS=${GOOS} CGO_ENABLED=false go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/moncheck ${PKGNAME}/cmd/moncheck GOOS=${GOOS} CGO_ENABLED=false go build -ldflags="${LDFLAGS}" -o ${WRKDIR}/monwork ${PKGNAME}/cmd/monwork +clean: + -rm -r ${WRKDIR} + install: build install -d -m 0755 ${DESTDIR}${bindir} install -d -m 0755 ${DESTDIR}${sysconfdir} |