From 83754f16833766420cdca1f8527177dbc4b6ace1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Apr 2022 13:12:59 +0900 Subject: implement --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d4abc9b --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +BIN := term-banner + +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 + +test: build + ./$(BIN) 'Hello, World!' 'こんにちは、' '世界!' -- cgit v1.2.3-70-g09d2