Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!hpldola!hp-lsd!sung From: sung@hp-lsd.HP.COM (Ann Sung) Newsgroups: comp.sys.att Subject: make behavior? Message-ID: <8220001@hp-lsd.HP.COM> Date: 2 Feb 89 04:41:27 GMT Organization: HP Logic Systems Division - ColoSpgs, CO Lines: 30 I have recently experienced make behaviour which is, to my recollection, inconsistant with make on other Unix System V machines. Specifically, I have trouble relatively referencing files from the make'ing directory. A transcript of a session follows: $ cd /tmp/test $ cat Makefile test: pwd echo "test" > test.out pwd $ make pwd /tmp/test echo "test" > test.out pwd /tmp/test The file test.out is created in my home directory, rather than in /tmp/test as I expected. Is this proper? Is this consistant with various flavors of Unix? Is there an option to invoke or a substitution to perform which will force make to behave more to my intuition? Invoking make by (HOME=/tmp/test; make) seems to be a solution. I am on a 3B1, Version 3.51 foundation set, Version 3.50 development pkg. Responses to: John R Ruckstuhl, Jr Internet: "hp-lsd.hp.com!sphere!ruck"@hplabs.hp.com University of Florida UUCP: ...hplabs.hp.com!hp-lsd.hp.com!sphere!ruck