title: Makefile error - make: *** No rule to make target `boot.o', needed by `all'. Stop
body: <p>I am working through a unix-like kernel development tutorial, and have come across a total noob problem I am sure:  can anyone tell me what is wrong with this?</p>
  
  <pre><code>SOURCES=boot.o main.o
  
  CFLAGS=-nostdlib -nostdinc -fno-builtin -fno-stack-protector
  LDFLAGS=-Tlink.ld
  ASFLAGS=-felf
  
  all: $(SOURCES) link 
  
  clean:
      -rm *.o kernel
  
  link:
      ld $(LDFLAGS) -o kernel $(SOURCES)
  
  .s.o:
      yasm $(ASFLAGS) $
  </code></pre>
  
  <p>Thanks in advance</p>