From 1f4718a29c0c386bd93e10f88dce8b9bb2f171b5 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 7 Oct 2011 22:48:09 +0800 Subject: [PATCH] makefile commit --- Makefile | 2 +- scene.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d410e7c..55dba6b 100644 --- a/Makefile +++ b/Makefile @@ -27,4 +27,4 @@ CFLAGS += -O3 -Wall -std=c99 all: scene scene: scene.c bitmap.c bitmap.h - gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit" + gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit" && ./scene & diff --git a/scene.c b/scene.c index b12ed15..a35d885 100644 --- a/scene.c +++ b/scene.c @@ -233,6 +233,7 @@ void makeMenu() { glutCreateMenu(processMainEvents); glutAddMenuEntry("Exit", 99); glutAttachMenu(GLUT_RIGHT_BUTTON); + } void display() { -- 2.20.1