ld: -L must be immediately followed by a directory path (no space)
Line 168 in the make file is:
$(CXX) $(LDFLAGS) -o $(BIN) $(OBJ) -langelscript -L ../../../../angelscript/lib
Removing the space after -L allows it to compile:
$(CXX) $(LDFLAGS) -o $(BIN) $(OBJ) -langelscript -L../../../../angelscript/lib
According to the man page this seems to be the correct syntax.
I also see the same thing under test_performance.