csminer/capi/make_test.sh
2020-08-11 12:02:35 -07:00

4 lines
170 B
Bash
Executable File

go build -o capi.a -buildmode=c-archive capi.go
gcc -c test.c -o test.o
gcc -L../../rxlib/ test.o capi.a ../../rxlib/rxlib.cpp.o -lpthread -lrandomx -lstdc++ -lm -o test