(no commit message)
[atyndall/cits2231.git] / Makefile
index d410e7c..1209ec1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,13 @@ CFLAGS += -O3 -Wall -std=c99
 \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) && git commit -a -m "makefile commit"\r
+       gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS)\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

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