Enhancements to mkfiles.pl and Recipe to arrange for the auxiliary

command-line programs (solosolver, patternsolver, mineobfusc) to be
built as part of the normal Makefiles. This means mkfiles.pl now has
the capability to compile a source file more than once with
different #defines. Also, fixes for those auxiliary programs and one
fix in midend.c which the Borland compiler objected to while I was
testing its makefile generation.

[originally from svn r6066]
This commit is contained in:
Simon Tatham
2005-07-05 19:40:32 +00:00
parent 4763b712fd
commit 968828283b
6 changed files with 126 additions and 53 deletions

3
solo.c
View File

@ -2470,7 +2470,6 @@ int main(int argc, char **argv)
game_state *s;
int recurse = TRUE;
char *id = NULL, *desc, *err;
int y, x;
int grade = FALSE;
while (--argc > 0) {
@ -2486,7 +2485,7 @@ int main(int argc, char **argv)
grade = TRUE;
recurse = FALSE;
} else if (*p == '-') {
fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0]);
fprintf(stderr, "%s: unrecognised option `%s'\n", argv[0], p);
return 1;
} else {
id = p;