Make appears missing delimiter (Linux)

Source: Internet
Author: User

To write a makefile file:
ACCESS.O:ACCESS.C cd_data.h
GCC $ (CFLAGS)-i$ (INCLUDE)-C ACCESS.C
16
APPLICATION:APP_UI.O ACCESS.O
GCC $ (CFLAGS)-o application app_ui.o ACCESS.O $ (LIBS)
19
Clean:
RM-F Application *.O
Missing delimiter error occurs after you enter make

Repeated modifications did not resolve the issue, and the GCC,RM used the tab delimiter before editing the file. Finally, use the Linux-brought editor gedit to open the makefile, and change the TAB key under Vim to gedit tab to get the correct result.

To summarize the missing delimiter problem resolution method:

1.GCC, RM must have a tab delimiter before you can use spaces.

2. Use Vim to edit the file, if there is a set expandtab in the configuration file VIMRC (using spaces instead of tabs), there will also be a missing delimiter problem. It is therefore best to comment on this statement, or use the Gedit editor to re-edit the makefile.

Make appears missing delimiter (Linux)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.