[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'make' can't do 'commands' in current directory?

From: Earnie Boyd
Subject: Re: 'make' can't do 'commands' in current directory?
Date: Thu, 10 Oct 2002 07:15:55 -0400
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

조정현 wrote:
> Here is a makefile
> -----makefile----
> all:
>    @echo $(SHELL)
>    @echo $(COMSPEC)
>    u2d a.c a.c
>    @pwd
> and the result is
> -----cmd window----
> C:\Temp>make
> sh.exe
> C:WINNTsystem32cmd.exe
> u2d a.c a.c
> make: u2d: Command not found
> make: *** [all] Error 127
> Would you give me explanation why 'make'  can't find u2d command?
> When I do 'u2d a.c a.c' at cmd window directly, it works.

Since make is a UNIX program, you might be able to work around the
problem by adding `.' to your PATH list like so

Who's distribution of make are you using?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]