Hello hackers... Could someone please explain such make(1) behaviour:
% pwd % /home/nick/src/testdir % find . . ./test ./test/tst.c ./Makefile % cat Makefile PROG = tst SRCS = test/tst.c .include <bsd.prog.mk> % make Warning: Object directory not changed from original /usr/home/nick/src/testdir 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? -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net
pgp00000.pgp
Description: PGP signature