Production of bricks