md-util-rs/Makefile

15 lines
210 B
Makefile
Raw Normal View History

2021-06-02 00:45:26 +02:00
DEBUG=target/debug/libmd_util_rs.so
FILE=ctest/test.c
OUTPUT=ctest/test
build:
cargo build
test: build
2021-06-02 00:45:26 +02:00
gcc -o ${OUTPUT} ${FILE} -Isrc -L. -l:${DEBUG}
./ctest/test
clean:
cargo clean
rm ./ctest/test