X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=62f7e668c591cf1623695347304f858aeb60a4b9;hp=98265c2d9d200791be2d848fee50cabb1d003949;hb=996468a3feca4b940b6901748241af7092df9b78;hpb=5d5f9edd4b8cf6eb14342c2edafbb450697a4693 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