all: scene\r
\r
scene: scene.c bitmap.c bitmap.h\r
- gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS)\r
- git commit -m "makefile commit"\r
+ gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit"\r
object = glutCreateMenu(processObjectEvents);\r
for ( int i = 0; objectMenuEntries[i]; i++ ) {\r
glutAddMenuEntry( objectMenuEntries[i], i );\r
-\r
+ }\r
\r
\r
\r
- glutCreateMenu(mymenu);\r
+ glutCreateMenu(processMainEvents);\r
glutAddMenuEntry("Exit", 99);\r
glutAttachMenu(GLUT_RIGHT_BUTTON);\r
}\r