I vaguely remember an Asterix comics book or animated film I watched in the 1990s where Obelix and Panoramix are depicted breaking rocks with hammers, possibly doing forced labor in a prison camp(?). Obelix uses a sledge hammer and huge swings while Panoramix uses a tiny hammer and tiny hits at a precise location. Both rocks break down into pieces.
What is the title of the book or film?