2025-01-04 06:00:03 +01:00
|
|
|
all: build run
|
|
|
|
|
2025-03-19 18:04:32 +01:00
|
|
|
|
|
|
|
build_rpylib:
|
|
|
|
gcc -shared -o rpylib.so -fPIC rpylib.c -lpython3.12 `python3-config --includes` -I/usr/include/CL -ljson-c -lcurl
|
|
|
|
|
|
|
|
|
2025-01-04 06:00:03 +01:00
|
|
|
build:
|
2025-02-13 19:09:29 +01:00
|
|
|
# -lpython3.14 -I/usr/include/python3.14
|
2025-03-16 22:46:09 +01:00
|
|
|
gcc main.c -Ofast -o r -Werror -Wall -lreadline -lncurses -lcurl -lssl -lcrypto -ljson-c -lm
|
2025-01-05 22:59:51 +01:00
|
|
|
publish r
|
|
|
|
|
|
|
|
build_free:
|
2025-03-16 22:46:09 +01:00
|
|
|
gcc main.c -lcurl -DFREE_VERSION -lssl -lcrypto -ljson-c -Ofast -o rf -Werror -Wall -lreadline -lncurses -lm
|
2025-01-05 22:59:51 +01:00
|
|
|
publish rf
|
2025-01-04 06:00:03 +01:00
|
|
|
|
|
|
|
run:
|
|
|
|
./r
|