(no commit message)
[atyndall/cits2231.git] / Makefile
index aeaa326..1e33bb5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,13 +23,14 @@ 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
 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: $(FILES)
 
 .PHONY: all
 
 all: scene commit
 
 scene: $(FILES)
-       gcc $(CFLAGS) -o $(FILES) $(LIBS)
+       gcc $(CFLAGS) -o $(EXENAME) $(FILES) $(LIBS)
 
 commit:        $(FILES)
        git commit -a --allow-empty-message --message="" --untracked-files=no; true
 
 commit:        $(FILES)
        git commit -a --allow-empty-message --message="" --untracked-files=no; true

UCC git Repository :: git.ucc.asn.au