X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=1209ec1e0c08cef13c2085c939f9ae71eaca304d;hp=02a1589b9c4af05ef23e0bfe51a62c0123f53815;hb=811fcd9e9bad9b734f197cd33e21d896daa8428c;hpb=f281e7ecaf92ab98692fd7efde95f5f8ce9dd821 diff --git a/Makefile b/Makefile index 02a1589..1209ec1 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 + (nice -n 19 ./scene &) && echo