🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1554

Make 3.45

#1554
From: simons
Date: Wed, 12 Apr 1989 14:13
30 lines
1015 bytes
I have a makefile that works using Sun make, but fails with GNU make. I
think this may be a GNU bug.

Here is the makefile in question:

----------
SHELL=/bin/csh

all:
	-@echo 'header' ; 
	-@echo -n 'enter text: ' ; \
	set a=$$< ; echo $$a  ;
----------

The problem is that the user never gets a chance to enter a value for the
shell variable 'a'...the makefile just cruises right through without stopping.
I can workaround this by using the following:

----------
SHELL=/bin/csh

all:
	-@echo 'header' ;  \
	echo -n 'enter text: ' ; \
	set a=$$< ; echo $$a  ;
----------

I'd like to hear if you think this is a bug. Thanks.

-josh simons
Technical Details
Message-ID: <8904121413.AA06574@odin.think.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!THINK.COM!simons

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!THINK.COM!simons
From: simons@THINK.COM
Newsgroups: gnu.utils.bug
Subject: Make 3.45
Message-ID: <8904121413.AA06574@odin.think.com>
Date: 12 Apr 89 14:13:47 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30