X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=5abaa742ec35977b4963e0929649212db26c939d;hp=02a1589b9c4af05ef23e0bfe51a62c0123f53815;hb=fedde5714597ead20c211801b11112b116bc2280;hpb=f281e7ecaf92ab98692fd7efde95f5f8ce9dd821 diff --git a/Makefile b/Makefile index 02a1589..5abaa74 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