summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-05-27 09:36:23 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-05-27 09:36:23 (GMT)
commit42d377d6e52fa7e233655e6340ebf58314baeb47 (patch)
tree25ca16a56506aee22d1f93d60f4a9f1595458701
parent6a70a4ba64c2920f05913474911ae999330d9246 (diff)
download2iv55-42d377d6e52fa7e233655e6340ebf58314baeb47.zip
2iv55-42d377d6e52fa7e233655e6340ebf58314baeb47.tar.gz
2iv55-42d377d6e52fa7e233655e6340ebf58314baeb47.tar.bz2
updated
-rw-r--r--matchblox/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/matchblox/Makefile b/matchblox/Makefile
index cd11b63..e629b40 100644
--- a/matchblox/Makefile
+++ b/matchblox/Makefile
@@ -1,18 +1,20 @@
CFLAGS=-Icommon -Imenu -Iengine -O2
CXXFLAGS=$(CFLAGS)
-LDFLAGS=-lglut -lm
+LDFLAGS=-lglut -lm -lGLEW
CXX=g++
CC=gcc
all: matchblox_menu matchblox_engine
- $(CXX) $(LDFLAGS) main.o message_queue.o bitmap.o button.o font.o menu.o C_3DObject.o C_Hand.o C_Block.o C_Log.o C_Environment.o C_Box.o C_MatchBloxEngine.o -o MatchBlox
+ $(CXX) $(LDFLAGS) main.o message_queue.o bitmap.o button.o font.o menu.o C_Smoother.o C_3DObject.o C_Hand.o C_Block.o C_Log.o C_Environment.o C_Box.o C_MatchBloxEngine.o wiimote_utils.o -o MatchBlox
matchblox_common:
$(CC) $(CFLAGS) -o message_queue.o -c common/message_queue.c
$(CC) $(CFLAGS) -o bitmap.o -c common/bitmap.c
$(CC) $(CFLAGS) -o font.o -c common/font.c
+ $(CXX) $(CXXFLAGS) -o C_Smoother.o -c common/C_Smoother.cpp
+ $(CXX) $(CXXFLAGS) -o wiimote_utils.o -c common/wiimote_utils.cpp
matchblox_menu: matchblox_common
$(CC) $(CFLAGS) -o button.o -c menu/button.c