diff options
Diffstat (limited to 'Makefile')
-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} |