\r
LIBS += -lglut -lGLU -lGL\r
\r
-CFLAGS += -O3 -Wall -std=c99\r
+CFLAGS += -ggdb -Wall -std=c99 \r
\r
.PHONY: all\r
\r
-all: scene\r
+all: scene commit open\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
+\r
+commit: scene.c bitmap.c bitmap.h\r
+ git commit -a --allow-empty-message --message="" --untracked-files=no\r
+\r
+open: scene.c bitmap.c bitmap.h\r
+ (nice -n 19 ./scene &) && echo\r