Thanks for all your help... I think I am going to give
up on this one :-). I am going to try a different way
and i need help with already
here is the make file
all :
if [ -d $(GPS_ENGINE_OBJS_DIR) ] ; then \
for f in `cd $(GPS_ENGINE_OBJS_DIR) && ls` ; do
\
case $$f in \
*.lo) HB="$(HB) `echo $$f`" ;; \
*) ;; \
esac ; \
done \
fi
echo $(HB)
I want to put all of the file that name is *.lo into a
string $(HB) how do I do that
Right now it echo empty string $(HB)
Thanks
--- "Paul D. Smith" <[EMAIL PROTECTED]> wrote:
> %% Noel Yap <[EMAIL PROTECTED]> writes:
>
> ny> I also don't see any backgrounded processes.
> The only other thing
> ny> I can think of is what Paul had said about
> NFS.
>
> g> all :
> g> $(SHELL) ./copyfile.sh
> g> cd $(OBJ_DIR) && mv foo.o newfoo
>
> Try changing your rule like this:
>
> all :
> $(SHELL) ./copyfile.sh; \
> [ -f $(OBJ_DIR)/foo.o ] || echo
> $(OBJ_DIR)/foo.o not there
> cd $(OBJ_DIR) && mv foo.o newfoo
>
> and see what happens.
>
> --
>
-------------------------------------------------------------------------------
> Paul D. Smith <[EMAIL PROTECTED]> Find some
> GNU make tips at:
> http://www.gnu.org
> http://make.paulandlesley.org
> "Please remain calm...I may be mad, but I am a
> professional." --Mad Scientist
>
=====
-------------------------
http://www.nguyen.bz/dvd
-------------------------
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make