X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile;h=7b4da1812221bf2362c035a5e7167484ff16c6fa;hb=5fbfd6dc38d01bb09013ab5b59085632aaa8de7a;hp=1785158d507747145b457965158dc4c83e7b2c23;hpb=35c768680a241adf106d2555831286505bb1b541;p=atyndall%2Fcits2231.git diff --git a/Makefile b/Makefile index 1785158..7b4da18 100644 --- a/Makefile +++ b/Makefile @@ -20,17 +20,18 @@ endif LIBS += -lglut -lGLU -lGL -CFLAGS += -O3 -Wall -std=c99 +CFLAGS += -ggdb -Wall -std=c99 .PHONY: all -all: scene commit open +all: scene commit scene: scene.c bitmap.c bitmap.h gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) commit: scene.c bitmap.c bitmap.h - git commit -a -m "makefile commit" + git commit -a --allow-empty-message --message="" --untracked-files=no + +clean: + rm scene -open: scene.c bitmap.c bitmap.h - (./scene &) && echo