From 185c9d52d4cda559df322ef5018c7275d7017632 Mon Sep 17 00:00:00 2001 From: Bill Mill Date: Mon, 20 Jun 2022 21:39:24 -0400 Subject: [PATCH] change springer daemon to springerd --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1b0d9d1..9ffca75 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ -bin/springer: server/main.go - go build -o bin/springer ./server +bin/springerd: server/main.go + go build -o bin/springerd ./server + +bin/springer: client/main.go + go build -o bin/springer ./client # Use zig as the cc to cross-compile mattn/sqlite for linux # @@ -8,6 +11,6 @@ bin/springer: server/main.go # this is basically magic # # to run locally: -# docker run -it -v $(pwd)/bin:/app ubuntu /app/springer-linux -bin/springer-linux: server/main.go - CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC="zig cc -target x86_64-linux" CXX="zig cc -target x86_64-linux" go build -o bin/springer-linux ./server +# docker run -it -v $(pwd)/bin:/app ubuntu /app/springerd-linux +bin/springerd-linux: server/main.go + CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC="zig cc -target x86_64-linux" CXX="zig cc -target x86_64-linux" go build -o bin/springerd-linux ./server