Solved Invisible objects after compilation?

FreeBSD 13.0 (i386)

I tried in several folders to compile the source code by simply entering make on CLI. Do everything without error, but nowhere in the folder do I see output objects or an executable program. I tried in folder: /usr/src/stand/i386/boot0/
The terminal shows that everything is fine but there are no output objects.

Then I tried:

:~ # make >> out_make.sh
:~ # chmod +x out_make.sh
:~ # ./out_make.sh

Of course, the compilation succeeded again, but now the files (boot0 and boot0.o) are visible in the folder.

I tried the same in the folder:
/usr/src/usr.bin/diff/
And the results are the same.

How should I use make cmd to get visible objects after compilation?
 
Code:
[22:36:29] [ns!root]//usr/src/stand/i386/boot0#make -V MAKEOBJDIR
/extra/sys/obj/extra/sys/src/amd64.amd64/stand/i386/boot0
this shows you where the objects will be created (nothing is built)
to change the MAKEOBJDIR location see /usr/share/mk/bsd.obj.mk
 
Code:
[22:36:29] [ns!root]//usr/src/stand/i386/boot0#make -V MAKEOBJDIR
/extra/sys/obj/extra/sys/src/amd64.amd64/stand/i386/boot0
Thank You!
Now with sudo at xterm I got this right:
Code:
# make -V MAKEOBJDIR
/usr/obj/usr/src/i386.i386/stand/i386/boot0
 
Back
Top