feat: makefile
This commit is contained in:
parent
f628630ea5
commit
9a93298508
|
@ -0,0 +1,4 @@
|
|||
SHELL := bash
|
||||
|
||||
build:
|
||||
nim c -d:release -L:libstatus.a -L:-lm --outdir:. src/nim_status_client.nim
|
|
@ -29,6 +29,6 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/dotherside/build/lib
|
|||
|
||||
|
||||
# 6.
|
||||
nimble build
|
||||
make build
|
||||
./nim_status_client
|
||||
```
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
{.passL: "libstatus.a -lm".}
|
||||
|
||||
|
||||
proc hashMessage*(p0: cstring): cstring {.importc: "HashMessage".}
|
||||
|
||||
proc initKeystore*(keydir: cstring): cstring {.importc: "InitKeystore".}
|
||||
|
|
Loading…
Reference in New Issue