From 996468a3feca4b940b6901748241af7092df9b78 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 8 Oct 2011 10:34:22 +0800 Subject: [PATCH] makefile commit --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 98265c2..62f7e66 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,13 @@ CFLAGS += -O3 -Wall -std=c99 .PHONY: all -all: scene +all: scene commit open scene: scene.c bitmap.c bitmap.h - gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) && git commit -a -m "makefile commit" && (./scene &) + gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) + +commit: + git commit -a -m "makefile commit" + +open: + (./scene &) && echo -- 2.20.1