From 80c3f20609ffd1709e0236c16866bbfdd962743e Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 16 Jun 2026 06:50:35 +0200 Subject: [PATCH] add GNU Makefile mirroring mkfile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b3a8c09 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +OLLIESRV_PATH = $(HOME)/bin +MOUNT_PATH = $(HOME)/bin + +.PHONY: all build install clean + +all: install + +build: + go build -buildvcs=false -o $(OLLIESRV_PATH)/olliesrv . + go build -buildvcs=false -o $(MOUNT_PATH)/ollie-9p-mount ./cmd/ollie-9p-mount/ + +install: build + +clean: + rm -f $(OLLIESRV_PATH)/olliesrv $(MOUNT_PATH)/ollie-9p-mount