c++ makefile missing separator issue

后端 未结 1 1369
小蘑菇
小蘑菇 2021-01-26 20:31

i\'m not sure why my makefiles isn\'t working. i googled the the error and i got some stuff about whitespaces and tabs but i\'m not sure what to do.

error: makefile:17:

相关标签:
1条回答
  • 2021-01-26 20:47

    Your command need to be tab (not space) indented. For example,

    $(TITLE): $(OBJECTS)
        $(CXX) $(LDFLAGS) -o $@ $^
    ^ this is a tab (in disguise...)
    
    0 讨论(0)
提交回复
热议问题