summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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