diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -2,19 +2,19 @@ GO ?= go all: build build: ${GO} version - ${GO} build - cp -pv ./dtail ./dcat - cp -pv ./dtail ./dgrep - cp -pv ./dtail ./dmap - cp -pv ./dtail ./dserver + ${GO} build -o dtail ./cmd/dtail/main.go + ${GO} build -o dcat ./cmd/dcat/main.go + ${GO} build -o dgrep ./cmd/dgrep/main.go + ${GO} build -o dmap ./cmd/dmap/main.go + ${GO} build -o dserver ./cmd/dserver/main.go clean: rm -v dtail dgrep dcat dmap dserver 2>/dev/null -install: - ${GO} install - cp -pv ${GOPATH}/bin/dtail ${GOPATH}/bin/dcat - cp -pv ${GOPATH}/bin/dtail ${GOPATH}/bin/dgrep - cp -pv ${GOPATH}/bin/dtail ${GOPATH}/bin/dmap - cp -pv ${GOPATH}/bin/dtail ${GOPATH}/bin/dserver +install: build + cp -pv dtail ${GOPATH}/bin/dtail + cp -pv dcat ${GOPATH}/bin/dcat + cp -pv dgrep ${GOPATH}/bin/dgrep + cp -pv dmap ${GOPATH}/bin/dmap + cp -pv dserver ${GOPATH}/bin/dserver vet: find . -type d | while read dir; do \ echo ${GO} vet $$dir; \ |
