backblaze-backup/Makefile

15 lines
259 B
Makefile
Raw Normal View History

2023-07-10 11:34:19 +02:00
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