From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 3 13:21:25 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC2A37B401 for ; Thu, 3 Apr 2003 13:21:25 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D5CD43FAF for ; Thu, 3 Apr 2003 13:20:59 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 749B33ABB8F; Thu, 3 Apr 2003 23:23:00 +0200 (CEST) Date: Thu, 3 Apr 2003 23:23:00 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Message-ID: <20030403212300.GL54604@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="hXth9cGL35Nvpk4x" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-PRERELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: Bug in make(1)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 21:21:25 -0000 --hXth9cGL35Nvpk4x Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello hackers... Could someone please explain such make(1) behaviour: % pwd % /home/nick/src/testdir % find . . ./test ./test/tst.c ./Makefile % cat Makefile PROG =3D tst SRCS =3D test/tst.c .include % make Warning: Object directory not changed from original /usr/home/nick/src/tes= tdir cc -O -pipe -c test/tst.c cc -O -pipe -o tst test/tst.o cc: test/tst.o: No such file or directory cc: No input files specified *** Error code 1 Stop in /usr/home/nick/src/testdir. % ls test/tst.o ls: test/tst.o: No such file or directory % ls tst.o tst.o IMHO make(1) should put .o files in current directory _and_ look for them there when producing an executable file. Right? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --hXth9cGL35Nvpk4x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPoymND/PhmMH/Mf1AQGE0QP/cSMGCf3Gpxh/n+wPj/Nmt2El6P9ER1TI R6qRXFYNHPupqNmCdlm9XWYCyVNm7HE7a9OOV9efFnu9l6fEgXr02jmx39XZKDQ3 1KcFNvyR7+VX10Y8t5nxwWY3ouaflblp8vuneJJa5qkmXXTciVAASBECGn/x+uXq S+M/Ab4A96c= =Un/Z -----END PGP SIGNATURE----- --hXth9cGL35Nvpk4x--