X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=aa702a9ad7bf5372cc1a86388b8ae1474781fd86;hp=8da5a7f82a1b75d560c042eafb0bfb16ad3235cd;hb=1d719278281fb2644da2be272f4833872140b1ce;hpb=3315f206fb8eb69a23612cd9be5fc558316fa52b diff --git a/Makefile b/Makefile index 8da5a7f..aa702a9 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) + +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