delorie.com/archives/browse.cgi | search |
From: | simonb AT prl DOT research DOT philips DOT com (Simon Blanchard) |
Subject: | Make can't find command |
24 Nov 1996 06:33:29 -0800 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <329852B4.58E.cygnus.gnu-win32@prl.research.philips.com> |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.0 (X11; I; IRIX64 6.2 IP19) |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
I have a Makefile that looks like the one below # # Test makefile # host := $(shell hosttype) all: echo $(PATH) # end makefile When I try to run it I get: "make: hosttype: Command not found" But at the shell prompt I can execute hosttype: bash$ hosttype nt-3.51-i386 bash$ And the PATH that's echoed in the above Makefile shows the directory where hosttype resides. Any thought? thanks simonb - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |