A simple colours manipulation library in c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
396 B

python: colours.o
c++ -O2 -Wall -shared -std=c++17 -fPIC -I/usr/include/python3.11 -I/home/alistair/.local/lib/python3.11/site-packages/pybind11/include colours.cpp colours.o -o colourpal.cpython-311-x86_64-linux-gnu.so
colours.o: colours.c colours.h
gcc -O2 -lm -fPIC -c colours.c
test: colours.c colours.h
gcc -lm -c colours.c
debug: colours.c colours.h
gcc -lm -fPIC -c colours.c -g