X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=93a8a32152db3319e2a01161b3308c3e76449eab;hp=62f7e668c591cf1623695347304f858aeb60a4b9;hb=4a2360eab8dc0f54a404da3944d768cfae9c993f;hpb=996468a3feca4b940b6901748241af7092df9b78 diff --git a/Makefile b/Makefile index 62f7e66..93a8a32 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ endif LIBS += -lglut -lGLU -lGL -CFLAGS += -O3 -Wall -std=c99 +CFLAGS += -ggdb -Wall -std=c99 .PHONY: all @@ -29,8 +29,11 @@ all: scene commit open scene: scene.c bitmap.c bitmap.h gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) -commit: - git commit -a -m "makefile commit" +commit: scene.c bitmap.c bitmap.h + git commit -a --allow-empty-message --message="" --untracked-files=no -open: - (./scene &) && echo +open: scene.c bitmap.c bitmap.h + (nice -n 19 ./scene &) && echo + +clean: + rm scene