make behavior with obj directory

Matthieu Michaud matthieu.michaud at epita.info
Sun Sep 24 15:38:36 PDT 2006


i was noticed this behavior using make on freebsd and netbsd :

ohmer at moe$ cat Makefile
all:
        pwd
ohmer at moe$ make
pwd
/usr/home/ohmer
ohmer at moe$ mkdir obj
ohmer at moe$ make
pwd
/usr/home/ohmer/obj

it seems a hard coded make behavior so it rather looks like a feature
than a bug. why is that ?

-- 
Matthieu Michaud <matthieu.michaud at epita.info>
EPITA SRS 2007 - Adaptive Hacking



More information about the freebsd-questions mailing list