I compile my project using a makefile with an expression in the style of g++ -c a.cpp b.cpp c.cpp
Is there any easy way to define a macro that will increment every file? (e.g. a 0, b 1, c 2)
Needless to say, but project consists of countless files and the number changes, so hardcoding anything is out of the question.
Aucun commentaire:
Enregistrer un commentaire