Przemyslaw,
this is from OS/2 make 3.81
Due to the fact that some people might want to use sh syntax in
Makefiles while others might want to use OS/2's native shell cmd.exe,
GNU make supports both shell types. The following list defines the order
that is used to determine the shell:
1. The shell specified by the environment variable MAKESHELL.
2. The shell specified by the SHELL variable within a Makefile. As on
Unix, SHELL is NOT taken from the environment.
3. The shell specified by the COMSPEC environment variable.
4. The shell specified by the OS2_SHELL environment variable.
5. If none of the above is defined /bin/sh is used as default. This
happens e.g. in the make testsuite.
Best regards.
Maurilio.
Przemyslaw Czerpak wrote:
> On Mon, 17 Aug 2009, Maurilio Longo wrote:
>
> Hi,
>
>> Anyway, I have the full gnufutils installed, so I'll do a test with cp,
>> without even moving it inside config since it is in my PATH.
>
> So I guess you also have some *sh.exe files in your path.
> Maybe it's the reason of your problems with rules without $(CMDPREF).
> Some older GNU make DOS and Windows ports were looking for *sh.exe
> files in PATH and used them instead of $(COMMAND). Maybe OS2 GNU
> make port still does it.
> Can you check?
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
--
__________
| | | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour