help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

issue with TCSH and gmake


From: Asperheim, Eric
Subject: issue with TCSH and gmake
Date: Mon, 11 Jun 2001 12:25:51 -0700

Hi,

I'm using the "tcsh" SHELL. It's a long story, but the command I use to
create a target has to be put into the background. Since this violates
normal gmake mechanism (after commands are excuted, target exists), I have
to wait for the target to show up. I couldn't figure out how to do this on a
single line in tcsh (I tried "here" docs and everything I could thing of).
I ended up having to generate a tiny tcsh script "wait_for.tcsh" (see
below).

Does anyone know of a way to do this inside gmake - eliminating need for
wait_for.tcsh script?

command to create $@
wait_for.tcsh $@

wait_for.tcsh
--------------------------
while (! -e $argv[1])
  sleep 5
end

Thanks,

Eric

Eric Asperheim  -  GCD Design
phone: (916) 356-4624 
Intel Corporation, FM6-81
fax: (916) 356-3051 
1900 Prairie City Rd, Folsom, CA 95630
address@hidden
----------------------------------------------------------------------------
--------------------------------- 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]