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)