TurboC again

Joe English jeenglis at nunki.usc.edu
Sat Feb 3 05:41:54 AEST 1990


ORCUTT at cc.utah.edu writes:
>  A makefile had the line
>
>     maketbl < table.def > table.c
>

>I think that spawning from uSoft C doesn't run
>COMMAND.COM, but just runs the binary, maketbl in
>this case.  COMMAND.COM does the redirection; without
>it, "<" was passed as an argument to maketbl, which
>ignores arguments.  

Try writing the rule with a '+' in front:
	+maketbl < table.def > table.c

That will force the use of command.com instead
of directly spawning the program under Borland's
and Zortech's make.  It seems to be a convention
in MS-DOS.


--Joe English

  jeenglis at nunki.usc.edu



More information about the Comp.lang.c mailing list