help-make
[Top][All Lists]
Advanced

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

sourcing scripts inside Make


From: Aditya Kher
Subject: sourcing scripts inside Make
Date: Thu, 1 Feb 2007 10:50:58 +0530

a silly question. How do I source a script inside a Makefile(say for
setting up the environment etc)?
source <script> doesnt work.

Makefile:

foo:
<TAB> source ~/.cshrc

----
make: source: Command not found
make: *** [foo] Error 127
-----

Btw, the script is C shell script.

--
Aditya Kher
http://kher.org




reply via email to

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