libfreefare
                                
                                 libfreefare copied to clipboard
                                
                                    libfreefare copied to clipboard
                            
                            
                            
                        Examples refactoring
Many libfreefare examples have common portions of code that have been copied/pasted and only have sparse differences and inconsistencies (tag acquisition, arguments parsing, etc.).
The test suite had to cope with a similar need, and builds a libtestcommon.a archive that is added to the test libraries that use the helper functions it defines. A similar approach for the examples may be appropriate.