1753760 Members
4748 Online
108799 Solutions
New Discussion юеВ

make file

 
vladimir gershman
Occasional Advisor

make file

Hello,

When i run "make" it sources my ".cshrc" file. Is there any way to stop "make" from doing that?

Thanks,
Vlad
5 REPLIES 5
Ron Kinner
Honored Contributor

Re: make file

You might want to repost this over at:

http://forums1.itrc.hp.com/service/forums/categoryhome.do?categoryId=150

which is where the programer types hang out.

Ron
Umapathy S
Honored Contributor

Re: make file

Vlad,
Can you post that bit which you say sources .cshrc file.

-Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Mark Greene_1
Honored Contributor

Re: make file

From the make man page:

"Each of the commands in the rules is given to a shell to be executed.
The shell used is the shell command interpreter (see sh(1)), or the
one specified in the makefile by the SHELL macro. To ensure the same
shell is used each time a makefile is executed, the line:

SHELL=/usr/bin/sh

or a suitable equivalent should be put in the macro definition section
of the makefile."

what do you have in the macro definition secion of your makefile?

mark
the future will be a lot like now, only later
Bruno Ganino
Honored Contributor

Re: make file

Vladimir, make command has much options and i have difficulty to explanation.
See my attachment, please.
Perhaps it is useful.
HTH
Bruno.
Torino (Turin) +2H
Bruno Ganino
Honored Contributor

Re: make file

Excuse me, i have forgotten my attachment.
Torino (Turin) +2H