Makefile: 4: *** missing separator. Stop.

Source: Internet
Author: User

When writing a buzzer driver today, the MAKEFILE file is like this:

Cross = arm-Linux-
ALL: beep
Beep: beep. c
$ (Cross) GCC-O beep. c
$ (Cross) strip beep
Clean:
@ RM-VF beep *. O *~

 

An error occurred while making the result. The error is makefile: 4: *** missing separator. Stop.



Chinese means that the separator is missing.

 

Solution:

Add a table before the first row, and also Add rows 4th and 7, as shown below:

Cross = arm-Linux-
ALL: beep
Beep: beep. c
$ (Cross) GCC-O beep. c
$ (Cross) strip beep
Clean:
@ RM-VF beep *. O *~

 

About arm-Linux-Strip:

Arm-Linux-strip is relatively rare. Compress compression commands are common and have a high compression ratio. However, compress compression also has disadvantages. The compressed file must be decompressed with the uncompress command before it can be used properly. The strip command does not solve this problem. It can clear unnecessary identifiers and debugging information in the execution file and reduce the file size without affecting normal use. Different from compress, strip cannot be restored once files are strip, so strip is a weight loss tool rather than a compression tool. Besides, if the Strip file does not contain debugging information, DBX cannot be used to debug the program.

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.