0

Ok I'm doing Zed Shaws Learn C the hard way. I'm stuck on lesson 2 where you have to create a makefile. I create the makefile in my directory as he says I add the code, but when I run make this is the result

$ make clean
Makefile:4: *** missing separator.  Stop.

I don't know how to fix the error. The code he has you type is

CFLAGS=-Wall    -g

clean:
    rm  -f  ex1

I'm not spacing either just hitting tab as instructed from the book.

Zeta
  • 103,620
  • 13
  • 194
  • 236

0 Answers0