sweetmr@SCT60A.SUNYCT.EDU (michael sweet) (04/05/91)
In my hurry to get GenMake out, I forgot to add checking for the '-f' option when scanning for source files. This is annoying, but not fatal... At the end of this message is a context diff that will fix this problem. -Mike Sweet ------------------------------------------------------------------------------ "The only TASC (315) 724-1100 (voice) truth is that 555 French Road (315) 724-2031 (fax) there are no New Hartford, NY 13413 Internet: sweetmr@sct60a.sunyct.edu truths, only beliefs." Delphi: DODGECOLT ------------------------------------------------------------------------------ *** genmain.c Thu Apr 4 14:37:50 1991 --- genmain.c.old Thu Apr 4 14:27:48 1991 *************** *** 184,190 **** f77_compiler = argv[x]; } #ifdef sgi ! else if (strcmp(argv[x], "-feedback") == 0) { /* '-feedback <filename>' */ addlist(&fflags_list, argv[x]); x++; --- 184,190 ---- f77_compiler = argv[x]; } #ifdef sgi ! if (strcmp(argv[x], "-feedback") == 0) { /* '-feedback <filename>' */ addlist(&fflags_list, argv[x]); x++; *************** *** 331,338 **** x++; /* next arg... */ cur_program = argv[x]; /* next program... */ } - else if (strcmp(argv[x], "-f") == 0) - x++; /* skip makefile name... */ else if (argv[x][0] != '-') /* not an option flag */ { /* add the file to the source or header list... */ addfile(argv[x], &srcs_list, &hdrs_list); --- 331,336 ----