From 968828283b7a0aacd71d4868846291b381884eb1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 5 Jul 2005 19:40:32 +0000 Subject: 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] --- pattern.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pattern.c') diff --git a/pattern.c b/pattern.c index 5ef032f..e9b6f98 100644 --- a/pattern.c +++ b/pattern.c @@ -1243,15 +1243,12 @@ int main(int argc, char **argv) { game_params *p; game_state *s; - int recurse = TRUE; char *id = NULL, *desc, *err; - int y, x; - int grade = FALSE; while (--argc > 0) { char *p = *++argv; 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; -- cgit v1.1