[Coin-discuss] why does 'make clean' executed in Bcp-dir execute rm -rf / in OSX 10.2.8?

Laszlo Ladanyi ladanyi at us.ibm.com
Sat Nov 1 11:23:15 EST 2003


Matt had the suggestion below. It a good and simple to implement idea.

Actually, I think it is even better to output an error message stating what
to do if the user accidentaly runs make in the Bcp subdir. I have committed a
change in the Makefile to that effect.

--Laci

On Sat, 1 Nov 2003, Matthew Saltzman wrote:

> On Sat, 1 Nov 2003, Laszlo Ladanyi wrote:
> 
> > I think this should be better emphasized in docs and faqs...:
> >
> >      Never, ever do any sort of make in the Bcp subdirectory.
> >
> > The makefile there is to be included from the Makefile of the application
> > using BCP. That defines BCPROOT. See, e.g., Makefile and Makefile.maxcut in
> > Examples/Maxcut.
> >
> > --Laci
> 
> Laci-
> 
> Coud the makefile in Bcp/ set $(BCPROOT) to '.' if it is not already set
> when the file is invoked?  That would prevent this particularly nasty side
> effect of a mistake that is very easy for a novice to make.
> 
> 		Matt
> 
> -- 
> 		Matthew Saltzman
> 
> Clemson University Math Sciences
> mjs AT clemson DOT edu
> http://www.math.clemson.edu/~mjs
> 




More information about the Coin-discuss mailing list