(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 03:11:25 +0000 (11:11 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 03:11:25 +0000 (11:11 +0800)
Makefile
helper.h

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
+EXENAME=scene
 
 .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
index 9dccd18..21eceea 100644 (file)
--- a/helper.h
+++ b/helper.h
@@ -4,6 +4,8 @@
  * @author Ashley Tyndall (20915779), Jenna de la Harpe (20367932)
  */
 
+#include "types.h"
+
 #ifndef HELPER_H
 #define        HELPER_H
 

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