Migrate to unified Makefile

This commit is contained in:
2024-10-08 06:01:45 +02:00
parent 60f39f0336
commit 2f35f1af6f
11 changed files with 464 additions and 94 deletions

View File

@ -7,6 +7,7 @@
#include <algorithm>
#include <getopt.h>
#include <libscnumerics.hpp>
#include "version.hpp"
// globals
std::string upper {"ABCDEFGHIJKLMNOPQRSTUVWXYZ"};
@ -55,7 +56,7 @@ int main(int argc, char* argv[]) {
// handle long-only options here
switch (opt_val) {
case 1:
std::cout << "pw version 2.0, © 2022 Bob Polis. All rights reserved.\n";
std::cout << pw_version() << '\n';
return EXIT_SUCCESS;
}
break;