Skip to content

Commit

Permalink
feat: add Makefile support basic Unix, MacOs, Window
Browse files Browse the repository at this point in the history
  • Loading branch information
sikiryl committed Aug 7, 2021
1 parent ce58d61 commit 3967052
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Makefile
@@ -0,0 +1,19 @@
TARGET_PATH = target/release

buildWindows:
cargo build --release

buildMacOS:
cargo build --release
upx --best --lzma $(TARGET_PATH)/awsp

buildLinux:
cargo build --release
upx --best --lzma $(TARGET_PATH)/awsp

build: buildWindows buildMacOS buildLinux

clean:
rm -rf target

all: clean build

0 comments on commit 3967052

Please sign in to comment.