shithub: tinygl

ref: 91ccd6aefd806490c9b0f7b8bd02d7fdc54e1c55
dir: /src/quick.sh/

View raw version
#/bin/bash
#escape character is used here to add a slash
#This script was used to move these files to include.
#sed -i 's/\"zbuffer.h/\"include\/zbuffer.h/g' *.c *.h
#sed -i 's/\"zfeatures.h/\"include\/zfeatures.h/g' *.c *.h
#sed -i 's/unsigned int/GLuint/g' *.c *.h
#sed -i 's/float/GLfloat/g' *.c *.h
#sed -i 's/char/GLbyte/g' *.c *.h
#sed -i 's/unsigned GLbyte/GLubyte/g' *.c *.h
#sed -i 's/	int/	GLint/g' *.c *.h
sed -i 's/inline//g' *.c *.h

#gcc *.c -o executable.out -lglut -lGL -lm -lGLU