initial commit

This commit is contained in:
2023-08-25 22:44:44 +02:00
commit 9848740dbf
12 changed files with 951 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
BINARY = morningalarm
BUILD_DIR = build
BUILD_ARCH = amd64
BUILD_OS = linux
.PHONY: all
all: clean build
.PHONY:build
build: $(BUILD_DIR)/$(BINARY)
$(BUILD_DIR)/$(BINARY):
GOARCH=$(BUILD_ARCH) GOOS=$(BUILD_OS) go build -o $(BUILD_DIR)/$(BINARY) cmd/morningalarm.go
.PHONY:clean
clean:
rm -rf $(BUILD_DIR)