Added "debug build" to usage message when compiled as `debug` target.

Fortune for naka's current commit: Future small blessing − 末小吉
generic-project-skeleton
Avril 3 years ago
parent a8e38d292e
commit 6b66965424
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -14,7 +14,10 @@
void prog_info(FILE* out)
{
fprintf(out, PROG_NAME " v%s - " PROG_DESCRIPTION
fprintf(out, PROG_NAME " v%s - " PROG_DESCRIPTION
#ifdef DEBUG
" (debug build)"
#endif
"\n written by %s with <3 (compiled at %lu UTC (unix ts))\n license %s.\n",
v_ctoss(v_rawtoc(PROG_VERSION)),
PROG_AUTHOUR,

Loading…
Cancel
Save