🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by simons Wed, 12 Apr 1989 14:13
Make 3.45
#1554
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads