--- Makefile.orig 2010-08-19 19:33:17.121007929 +0100 +++ Makefile 2010-08-19 19:33:42.760695900 +0100 @@ -52,7 +52,7 @@ # The main program: genindex: $(OBJS) - $(CXX) $(CXXFLAGS) $^ -o $@ + $(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS) rmstream: rmstream.o thread.o ringbuffer.o pes.o $(CXX) $(CXXFLAGS) $^ -o $@