Links between Makefile,shell Command,shell Language

Source: Internet
Author: User

1. Makefile

The first thing to know is what Makefile is, Makefile is a directive file, which stores custom commands (which can be created with the help of existing commands), and differs from Makefile in different systems, linux/ In UNIX systems, the system will first search the default directory and whether there are makefile or makefile in the path in the environment variable (such files do not have an extension) but are NMAKE under windows

Syntax or usage in the makefile file:

# Some simple declarations, declarations of variables, etc.

directive: for example-----> Clean: (Some dependent files, dependent files generally appear in the process of file compilation or generation)

Commands executed RM-RF./* # Delete all of the files in the current directory

........

And so on

Finally, you can use the custom commands in the Make + Makefile in the terminal to execute the command or operation under the instruction.

2.Shell command

A shell command is a command that is already in the system or self-developed (to add a self-developed command to an environment variable, or a command that pops up with not found command:) to perform some or something like using a Pac under the Arch-linux version Man-s install Atom, is a single command or a single thing

3. Shell Project Language

The shell here is a scripting language, he has his syntax (Shell programming) is a collection of multiple Shell Command, here can complete a whole process. For example: write some default things in the shell into a new file, "File contents" >> (file flow appended to the content) FileName # > is re-flow to

For example, MAILX This command can send messages to the specified person in the command, such as connecting the Oracle database in the shell and flowing the results of the execution to a new file.

Links between Makefile,shell Command,shell Language

Related Article

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.