diff options
| author | icecodder <git@icecodder.me> | 2023-01-14 18:01:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-14 18:01:17 +0100 |
| commit | 2c961cf0848bc84b74451536dfe81c38c2a8161f (patch) | |
| tree | d9da1aafc4f325150645822fac6f48bae0a44ab8 | |
| parent | 25c434084038dfba446f483e4221682df4321ff0 (diff) | |
(really) ftw
| -rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |
