Problem with make

Robert A. Earl rae98 at wash08.uucp
Sat Sep 30 02:48:31 AEST 1989


In article <11169 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>In article <715 at bbking.KSP.Unisys.COM> bcarb at 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 at CAS



More information about the Comp.unix.questions mailing list