X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=Makefile;h=1e33bb5663b4b6415ece08cc682c5420bcf30042;hp=8aacfe58a79296e8642413bdb33aed5d32d15c3a;hb=9515ba70d6904846bdc10e16c3f4e1f63ae83016;hpb=734ee7661b2d1c9a5d3b0b857f93a790e1054deb;ds=sidebyside diff --git a/Makefile b/Makefile index 8aacfe5..1e33bb5 100644 --- a/Makefile +++ b/Makefile @@ -22,14 +22,17 @@ 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 +EXENAME=scene + .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 $(EXENAME) $(FILES) $(LIBS) -commit: scene.c bitmap.c bitmap.h +commit: $(FILES) git commit -a --allow-empty-message --message="" --untracked-files=no; true clean: