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.