Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!uunet!wash08!rae98
From: rae98@wash08.uucp (Robert A. Earl)
Newsgroups: comp.unix.questions
Subject: Re: Problem with make
Keywords: make for sysV
Message-ID: <1989Sep29.164831.26616@wash08.uucp>
Date: 29 Sep 89 16:48:31 GMT
References: <715@bbking.KSP.Unisys.COM> <11169@smoke.BRL.MIL>
Reply-To: rae98@wash08.UUCP (Robert A. Earl)
Organization: American Chemical Society, Washington, DC
Lines: 29

In article <11169@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes:
>In article <715@bbking.KSP.Unisys.COM> bcarb@KSP.Unisys.COM (Brian Carb) writes:
>>test:
>>	for i in 1 2 3 4; do echo "hello"; done
>>This always generates an error such as
>>Syntax error:  do:  command not found
>
>There's nothing wrong with that Makefile.
>(I.e. I tried it and it worked fine for me.)

This worked for me also (NCR Tower 32/850 SVR2).

I have a secondary question concerning makefiles:

Can you read in a variable for use in the makefile?
i.e.:
read a;echo $(a)

Alternatively, can you pass args through make to be used in the makefile?
What I really want to do is:

make tar (system_name)
and have the makefile generate a tar file and send it to system_name.

the tar is easy.....any way to do the rest?
-- 
===========================================================
Name:	Bob Earl		Phone:	(202) 872-6018 (wk)
UUCP:	...!uunet!wash08!rae98	BITNET:	rae98@CAS