gotunnelserver/tunnelclient/Makefile

18 lines
253 B
Makefile
Raw Permalink Normal View History

APP_NAME := tunnelclient
BIN_DIR := ../dist/tunnelclient
all: $(BIN_DIR) $(BIN_DIR)/$(APP_NAME)
$(BIN_DIR):
mkdir -p $(BIN_DIR)
$(BIN_DIR)/$(APP_NAME): main.go
go build -o $@ $<
clean:
rm -rf $(BIN_DIR)
test:
go test -v ./...
.PHONY: clean all