makefile commit
authorAsh Tyndall <[email protected]>
Fri, 7 Oct 2011 14:48:09 +0000 (22:48 +0800)
committerAsh Tyndall <[email protected]>
Fri, 7 Oct 2011 14:48:09 +0000 (22:48 +0800)
Makefile
scene.c

index d410e7c..55dba6b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,4 +27,4 @@ CFLAGS += -O3 -Wall -std=c99
 all: scene\r
 \r
 scene: scene.c bitmap.c bitmap.h\r
-       gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit"\r
+       gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit" && ./scene &\r
diff --git a/scene.c b/scene.c
index b12ed15..a35d885 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -233,6 +233,7 @@ void makeMenu() {
   glutCreateMenu(processMainEvents);\r
   glutAddMenuEntry("Exit", 99);\r
   glutAttachMenu(GLUT_RIGHT_BUTTON);\r
+\r
 }\r
 \r
 void display() {\r

UCC git Repository :: git.ucc.asn.au