md-util-rs/Makefile

15 lines
210 B
Makefile

DEBUG=target/debug/libmd_util_rs.so
FILE=ctest/test.c
OUTPUT=ctest/test
build:
cargo build
test: build
gcc -o ${OUTPUT} ${FILE} -Isrc -L. -l:${DEBUG}
./ctest/test
clean:
cargo clean
rm ./ctest/test