Se hai xcode installato è facile fare un makefile.
Perchè automaticamente viene installato anche OpenGL.
I flag possono essere:
Per includere anche le wxWidgets prova con -L seguito dal path di dove hai installato le wxWidgets.codice:-framework OpenGL -framework GLUT