add Makefile for build automation

This commit is contained in:
Keiran 2025-08-06 04:35:35 +01:00
parent ce9017c31b
commit 958e0e480d

11
Makefile Normal file
View File

@ -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