X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=7b4da1812221bf2362c035a5e7167484ff16c6fa;hp=aa702a9ad7bf5372cc1a86388b8ae1474781fd86;hb=5fbfd6dc38d01bb09013ab5b59085632aaa8de7a;hpb=1d719278281fb2644da2be272f4833872140b1ce diff --git a/Makefile b/Makefile index aa702a9..7b4da18 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,11 @@ 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) @@ -32,5 +32,6 @@ scene: scene.c bitmap.c bitmap.h commit: scene.c bitmap.c bitmap.h git commit -a --allow-empty-message --message="" --untracked-files=no -open: scene.c bitmap.c bitmap.h - (./scene &) && echo +clean: + rm scene +