|
BIN_DIR := ./bin
|
|
APP_NAME := backblaze-backup
|
|
|
|
.PHONY: build_windows
|
|
build_windows:
|
|
@mkdir -p $(BIN_DIR)
|
|
GOOS=windows GOARCH=amd64 go build -o $(BIN_DIR)/$(APP_NAME).exe
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(BIN_DIR)
|
|
|
|
.PHONY: rebuild
|
|
rebuild: clean build_windows
|