X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=93a8a32152db3319e2a01161b3308c3e76449eab;hp=55dba6bdf51aa89cb3af5596b553719341172b35;hb=4a2360eab8dc0f54a404da3944d768cfae9c993f;hpb=1f4718a29c0c386bd93e10f88dce8b9bb2f171b5 diff --git a/Makefile b/Makefile index 55dba6b..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" && ./scene & + 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