Make reported an error "There are no rules to create 'mykernel. bin', stop"

"[email protected]" <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <PH0PR03MB64962597B35E94C3DDF383AAFDD79@PH0PR03MB6496.namprd03.prod.outlook.com>
system:ubuntu22.10
I'm trying to make mykernel.bin,However, an error was reported. See the title for details
This is my makefile code:
GPPPARAMS = -m32 -fno-use-cxa-atexit -fleading-underscore -fno-exceptions -fno-builtin -nostdlib -fno-rtti

ASPARAMS = --32

LDPARAMS = -melf_i386

objects = loader.o kernel.o

%.o: %.cpp

        g++ ${GPPPARAMS} -o $@ -c $<

%.o: %.s

        as ${ASPARAMS} -o $@ $<

mykernel.bin: linker.ld ${objects}

        ld ${LDPARAMS} -T $< -o $@ ${objects}

install: mykernel.bin
        sudo cp $< /boot/mykernel.bin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.