[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Executing a shell script in a Makefile
From: |
Paul D. Smith |
Subject: |
Re: Executing a shell script in a Makefile |
Date: |
Wed, 29 Sep 2004 16:51:52 -0400 |
%% Noel Yap <address@hidden> 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 <address@hidden> 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
- Executing a shell script in a Makefile, G2345C, 2004/09/29
- Re: Executing a shell script in a Makefile, Paul D. Smith, 2004/09/29
- Re: Executing a shell script in a Makefile, G2345C, 2004/09/29
- Re: Executing a shell script in a Makefile, Paul D. Smith, 2004/09/29
- Re: Executing a shell script in a Makefile, G2345C, 2004/09/29
- Re: Executing a shell script in a Makefile, Noel Yap, 2004/09/29
- Re: Executing a shell script in a Makefile,
Paul D. Smith <=
- Re: Executing a shell script in a Makefile, G2345C, 2004/09/29
- Re: Executing a shell script in a Makefile, Paul D. Smith, 2004/09/29
- Re: Executing a shell script in a Makefile, G2345C, 2004/09/29
- Re: Executing a shell script in a Makefile, Paul D. Smith, 2004/09/29
- Re: Executing a shell script in a Makefile, G2345C, 2004/09/30