X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=93a8a32152db3319e2a01161b3308c3e76449eab;hp=d410e7ca3b2ea99941b2da56fd258fe9a2a3a10d;hb=4a2360eab8dc0f54a404da3944d768cfae9c993f;hpb=c012f7cd9295d346519ed24e16e78ce5d553f329 diff --git a/Makefile b/Makefile index d410e7c..93a8a32 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,20 @@ endif LIBS += -lglut -lGLU -lGL -CFLAGS += -O3 -Wall -std=c99 +CFLAGS += -ggdb -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 --allow-empty-message --message="" --untracked-files=no + +open: scene.c bitmap.c bitmap.h + (nice -n 19 ./scene &) && echo + +clean: + rm scene