To compile using tcc:

tccmake draw -lpthread