-2

both of these two makefiles give me the message of

[Makefile:1: *** missing separator. Stop]

I am sure I used the tab.

1

2

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
  • 2
    Post text as text, not pictures of text, and *not* links to pictures of text. – dbush Oct 04 '18 at 01:57
  • 1
    Don't post links to screen shots, post the code! Take the [tour], read [Ask], and [MCVE]. – jwdonahue Oct 04 '18 at 01:58
  • 1
    [What is the comment character in Linux Makefile](https://www.google.com/search?q=What+is+the+comment+character+in+Linux+Makefile), [How to comment a line in a Makefile?](https://stackoverflow.com/q/40928674/608639), [How do I properly comment a variable definition in GNU Make](https://stackoverflow.com/q/31586713/608639), [How to add multi line comments in makefiles](https://stackoverflow.com/q/4493291/608639), etc. – jww Oct 04 '18 at 03:58

1 Answers1

0

// is not a comment delimeter in make, so the error is complaining about the first line -- it begins with a name (//) that is not followed by a colon (so its not a rule) or = (so its not a variable assignment).

Use # for comments in a Makefile

Chris Dodd
  • 119,907
  • 13
  • 134
  • 226