From: Matthijs Kooijman Date: Mon, 11 Jun 2007 11:24:48 +0000 (+0200) Subject: * Manually link against ftgl to make it work. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=commitdiff_plain;h=6b155f2060372be8a528f217e61b3357a8b16898 * Manually link against ftgl to make it work. --- diff --git a/ABM2/Makefile b/ABM2/Makefile index 143c31f..e8997e3 100644 --- a/ABM2/Makefile +++ b/ABM2/Makefile @@ -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 $@