I tried to compile on OSX 10.10 with all required libraries and tcc installed (all with homebrew) and linked in /usr/local/include and there were linking errors and header files not found.
I changed the flags (-lGLEW -lGLU -lGL) to frameworks (-framework GLUT -framework OpenGL -framework Cocoa) to fix GLU and the directories for tcc and sfml (-I/usr/local/include/ -L /usr/local/lib/).
Also, I have not tried to compile on any GNU/Linux distro, but I think it should work as I only changed what's inside the conditional.
I tried to compile on OSX 10.10 with all required libraries and tcc installed (all with homebrew) and linked in /usr/local/include and there were linking errors and header files not found.
I changed the flags (
-lGLEW -lGLU -lGL
) to frameworks (-framework GLUT -framework OpenGL -framework Cocoa
) to fix GLU and the directories for tcc and sfml (-I/usr/local/include/ -L /usr/local/lib/
).Also, I have not tried to compile on any GNU/Linux distro, but I think it should work as I only changed what's inside the conditional.