X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile;h=1785158d507747145b457965158dc4c83e7b2c23;hb=35c768680a241adf106d2555831286505bb1b541;hp=d410e7ca3b2ea99941b2da56fd258fe9a2a3a10d;hpb=c012f7cd9295d346519ed24e16e78ce5d553f329;p=atyndall%2Fcits2231.git diff --git a/Makefile b/Makefile index d410e7c..1785158 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" + gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) + +commit: scene.c bitmap.c bitmap.h + git commit -a -m "makefile commit" + +open: scene.c bitmap.c bitmap.h + (./scene &) && echo