summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricecodder <git@icecodder.me>2023-01-14 18:01:17 +0100
committerGitHub <noreply@github.com>2023-01-14 18:01:17 +0100
commit2c961cf0848bc84b74451536dfe81c38c2a8161f (patch)
treed9da1aafc4f325150645822fac6f48bae0a44ab8
parent25c434084038dfba446f483e4221682df4321ff0 (diff)
(really) ftw
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 8552afb..28c8738 100644
--- a/Makefile
+++ b/Makefile
@@ -28,15 +28,16 @@ internal/pkg/all-in-one/all-in-one.h: build/lib/liball_in_one.a
build/bin/nova: build/lib/liball_in_one.a internal/pkg/all-in-one/all-in-one.h
go build -a -ldflags '-s' -o build/bin/nova cmd/nova/nova.go
-ifeq ($(detected_OS),Windows)
- all: build/bin/{cache,gateway,ratelimit,rest,webhook}{,.exe} build/bin/nova
-endif
-ifeq ($(detected_OS),Linux)
- all: build/bin/{cache,gateway,ratelimit,rest,webhook} build/bin/nova
-endif
-ifeq ($(detected_OS),Darwin)
- all: build/bin/{cache,gateway,ratelimit,rest,webhook} build/bin/nova
-endif
+all:
+ ifeq ($(detected_OS),Windows)
+ build/bin/{cache,gateway,ratelimit,rest,webhook}{,.exe} build/bin/nova
+ endif
+ ifeq ($(detected_OS),Linux)
+ build/bin/{cache,gateway,ratelimit,rest,webhook} build/bin/nova
+ endif
+ ifeq ($(detected_OS),Darwin)
+ build/bin/{cache,gateway,ratelimit,rest,webhook} build/bin/nova
+ endif
docker-images:
docker-compose build