On Mon, Oct 20, 2008 at 10:59 AM, Brad Tilley <[EMAIL PROTECTED]> wrote: > On Mon, Oct 20, 2008 at 9:35 AM, Julian Leyh <[EMAIL PROTECTED]> wrote: >> make already knows how to compile C files, no need to call the >> compiler yourself ;) > > On 4.4 i386 make does this: > > $ make cpuid.c && ./cpuid > `cpuid.c' is up to date. > ksh: ./cpuid: not found > > It does not produce a cpuid executable.
That's because you told it to make a file called cpuid.c, not a program called cpuid. You get what you ask for.