diff options
| author | icecodder <git@icecodder.me> | 2023-01-14 17:08:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-14 17:08:39 +0100 |
| commit | 24832713ade0852e77f2de01cd824c34fc63fff3 (patch) | |
| tree | 0cf10a7f2aab356903c88f6a111588b43c1784e7 /Makefile | |
| parent | db93991c41ca2c7af9edfa03c8b10200da12957a (diff) | |
makefile os agnostic
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,7 +7,11 @@ build/lib/liball_in_one.a build/bin/{cache,gateway,ratelimit,rest,webhook}{,.exe @echo "Building rust project" cargo build --release @cp target/release/liball_in_one.a build/lib - @cp target/release/{cache,gateway,ratelimit,rest,webhook}{,.exe} build/bin || true + ifeq ($(OS),Windows_NT) + @cp target/release/{cache,gateway,ratelimit,rest,webhook}{,.exe} build/bin || true + else + @cp target/release/{cache,gateway,ratelimit,rest,webhook} build/bin || true + endif # Generated by a rust build script. internal/pkg/all-in-one/all-in-one.h: build/lib/liball_in_one.a |
