diff --git a/main.cpp b/main.cpp index 77c4bf1..cd57bb3 100644 --- a/main.cpp +++ b/main.cpp @@ -378,11 +378,8 @@ int main(int argc, char ** args) { if (!openOutfile(outfile)) { continue; // just skip this file } - } - // check for target override - if (config.targetName.empty()) { - config.targetName = filename; + writeTarget(outfile, filename); } for (auto it = list.begin(); it != list.end(); it++) {