I get the following failure when trying to run the makefile in the demos folder:
$ make MacOSX
cd common ; make
make: Nothing to be done for `all'.
cd MacOSX ; make ; make run
cc -I. -I/usr/X11/include -c -o noisedemo.o ../common/noisedemo.c
cc -framework Cocoa -framework OpenGL -lglfw noisedemo.o -o noisedemo
./bundle.sh noisedemo.app noisedemo ; chmod a-x noisedemo
/bin/sh: ./bundle.sh: Permission denied
ln -s ../common/noisedemo.vert ../common/noisedemo.frag . ; touch links_done
open -W ./noisedemo.app
The file /Volumes/ssd/code/graphics/webgl-noise/demo/MacOSX/noisedemo.app does not exist.
make: *** [run] Error 1
make: *** [MacOSX] Error 2
$ chmod u+x demo/MacOSX/bundle.sh
fixes the 'Permission denied' error above and allows the Makefile to run flawlessly
No worries, just thought I'd let you know as maybe you aren't working on OS X and it might be a hitch for some users.
Note that once you do the chmod, the diff won't say much, only that you changed permissions. This is how it looks on my computer:
$ git diff demo/MacOSX/bundle.sh
diff --git a/demo/MacOSX/bundle.sh b/demo/MacOSX/bundle.sh
old mode 100644
new mode 100755
You should still add / commit that file and the change would be made. Alternatively, I can issue a pull request, but I thought it overkill for something this minor.
Anyhow, thanks for the nice demo, I'm enjoying learning from your glsl!