1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
THISDIR=`pwd` #eglut/eglut_x11.c \ #eglut/eglut_screen.c \ #DEMO_C=es2gears.c #DEMO_C=es2redsquare.c DEMO_C=$1 gcc -I$THISDIR -I$THISDIR/eglut -o `basename $DEMO_C .c` \ eglut/eglut.c \ eglut/eglut_x11.c \ $DEMO_C \ -lX11 \ -lEGL \ -lGLESv2 \