From 78e9c28b70429145b09bca73aac9d9916a7b65cb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 28 Feb 2023 00:44:43 +0900 Subject: initial implementation --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b390a3c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +BIN := term-clock + +all: build + +.PHONY: run +run: build + ./$(BIN) + +.PHONY: build +build: $(BIN) + +$(BIN): main.go + go build -o $(BIN) + +.PHONY: fmt +fmt: + go fmt + +.PHONY: clean +clean: + go clean -- cgit v1.2.3-70-g09d2