From 958e0e480d48ceb42c645642435cadfbda90ab07 Mon Sep 17 00:00:00 2001 From: Keiran Date: Wed, 6 Aug 2025 04:35:35 +0100 Subject: [PATCH] add Makefile for build automation --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4fc3e23 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +BINARY = termbox +GO_ENV = GOOS=linux GOARCH=amd64 + +.PHONY: build clean +all: build + +build: clean + go build -o build/${BINARY} cmd/termbox/main.go + +clean: + rm -rf build