blob: aeb1d9077580db2c6218f5ddbdf27a4cd7328be1 [file] [log] [blame]
PROJECT = check
BIN_DIR = bin
BIN = check
all: run
run: build
$(BIN_DIR)/$(BIN)
build: $(BIN)
$(BIN): export GOPATH = $(shell pwd)
$(BIN):
go install $(PROJECT)/cmd/$(BIN)
clean:
rm $(BIN_DIR)/$(BIN)
rmdir $(BIN_DIR)
.PHONY: all run build clean $(BIN)