Build with Nimble

This commit is contained in:
Victor Golovanenko
2021-02-04 08:15:38 +03:00
parent 666ffe6517
commit f1a40fc40c
3 changed files with 6 additions and 4 deletions

View File

@@ -9,10 +9,8 @@ SOURCE = $(SRCDIR)/wpspin.nim
all: $(TARGET)
$(TARGET): $(SOURCE)
nimble install -y argparse
nim compile --gc:none --checks:off --out:$@ $(SOURCE)
nimble build -d:release
strip $@
nimble uninstall -y argparse
install: $(TARGET)
install -d $(BINDIR)