Skip to content

Commit 90ffd41

Browse files
author
jsdnhk
committed
updated blog pattern
1 parent 7650ed7 commit 90ffd41

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

collections/_posts/2020-11-01-post.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ comment: true
99
## Background
1010

1111
To enable executable from source code in a project, it usually requires a set of command lines to work it out.
12+
1213
In software development, this step is called 'building', however it's never be an easy task for human by input lines.
14+
1315
As a result, since 1976, a build automation tool, [Make][make-wiki], was birth from Bell Lab to automate building process for C.
16+
1417
Make can not only build up executable by defining file dependency ruleset, but also collect project tasks by listing.
18+
1519
Thanks to this gift, a numerous of software projects are still using Make to manage and run the project procedures.
1620

1721
## Advantages
@@ -24,7 +28,9 @@ Thanks to this gift, a numerous of software projects are still using Make to man
2428
## Usage
2529

2630
Make searches the current directory for the makefile to use, then runs the specified target(s) from that file.
31+
2732
Inside makefile, there are set of rule, it contains commands to build a target file from source files with dependencies.
33+
2834
After that, you can specify particular target(s) to run task(s) or update file(s). The following is the structure of a rule,
2935

3036

@@ -33,10 +39,10 @@ After that, you can specify particular target(s) to run task(s) or update file(s
3339
# Common look of a rule
3440
# []: optional
3541
target1 [target2 ...]: [component1 ...]
36-
[command 1]
37-
[command 2]
38-
...
39-
[command n]
42+
# [command 1]
43+
# [command 2]
44+
# ...
45+
# [command n]
4046
```
4147

4248
[make-wiki]:https://en.wikipedia.org/wiki/Make_(software)

0 commit comments

Comments
 (0)