aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-02-28 00:44:43 +0900
committernsfisis <nsfisis@gmail.com>2023-03-05 22:44:21 +0900
commit78e9c28b70429145b09bca73aac9d9916a7b65cb (patch)
treed8e6a17e5b653b6a66a2545b812ea95aca1dccc5 /Makefile
parentd288579fcc1876b2ae5c1ab570ab4f50491558b9 (diff)
downloadterm-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.gz
term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.tar.zst
term-clock-78e9c28b70429145b09bca73aac9d9916a7b65cb.zip
initial implementation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
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