X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile;h=aa702a9ad7bf5372cc1a86388b8ae1474781fd86;hb=8d6421102f26d4e5b554bbac7b973ed10dd3be2a;hp=02a1589b9c4af05ef23e0bfe51a62c0123f53815;hpb=f281e7ecaf92ab98692fd7efde95f5f8ce9dd821;p=atyndall%2Fcits2231.git diff --git a/Makefile b/Makefile index 02a1589..aa702a9 100644 --- a/Makefile +++ b/Makefile @@ -24,8 +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 -m "makefile commit" + +commit: scene.c bitmap.c bitmap.h + git commit -a --allow-empty-message --message="" --untracked-files=no + +open: scene.c bitmap.c bitmap.h + (./scene &) && echo