* Manually link against ftgl to make it work.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 11 Jun 2007 11:24:48 +0000 (13:24 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Mon, 11 Jun 2007 11:24:48 +0000 (13:24 +0200)
ABM2/Makefile

index 143c31f4cae929c6290d928dd474513fe8c1e3b7..e8997e35f6f373aef1124c6c9d665fd08f3201eb 100644 (file)
@@ -7,11 +7,13 @@ OBJS    := main.o Engine/Log.o SchemeReader.o Engine/Settings.o \
            Engine/profiler.o Playground.o Engine/InputTask.o \
            Amaltheia/Graphics.o
 
+#include these in linking. Linking with -lftgl doesn't work for some stupid reason...
+EXTRA_OBJS := /usr/lib/libftgl.a
 
 all: abm2
 
 abm2: $(OBJS)
-       g++ $(LDFLAGS) -o abm2 $(OBJS)
+       g++ $(LDFLAGS) -o abm2 $(OBJS) $(EXTRA_OBJS)
 
 %.o: %.cpp
        g++ $(CFLAGS) -c $< -o $@