X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=aeaa326c5640ad849a203e0dfea03e41e9033500;hp=8aacfe58a79296e8642413bdb33aed5d32d15c3a;hb=d3465c5cd0e6e9b414e669e8c8aa464b03f2fd24;hpb=b24fabe7a11b7e6d6d53aff68ea37df448fb53d2 diff --git a/Makefile b/Makefile index 8aacfe5..aeaa326 100644 --- a/Makefile +++ b/Makefile @@ -22,14 +22,16 @@ LIBS += -lglut -lGLU -lGL CFLAGS += -ggdb -Wall -std=c99 +FILES=scene.c scene.h bitmap.c bitmap.h globals.c globals.h helper.c helper.h types.h + .PHONY: all all: scene commit -scene: scene.c bitmap.c bitmap.h - gcc $(CFLAGS) -o scene scene.c bitmap.c $(LIBS) +scene: $(FILES) + gcc $(CFLAGS) -o $(FILES) $(LIBS) -commit: scene.c bitmap.c bitmap.h +commit: $(FILES) git commit -a --allow-empty-message --message="" --untracked-files=no; true clean: