mirror of
https://github.com/exoticorn/upkr.git
synced 2026-11-13 23:47:19 +01:00
add basic example for compiling upkr to a c library
This commit is contained in:
1 parent
080db40d00
commit
795e6c3090
8 files changed
+331
No files matched your search
@@ -0,0 +1,8 @@
|
||||
upkr: upkr.c upkr.h target/release/libupkr.a
|
||||
gcc -O2 -Ltarget/release -o upkr upkr.c -lupkr -lm
|
||||
strip upkr
|
||||
|
||||
target/release/libupkr.a: cargo
|
||||
cargo build --release
|
||||
|
||||
.PHONY: cargo
|
||||
Reference in new issue
Block a user