Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ALP4-Tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mactavish96
ALP4-Tutorials
Commits
02851bc9
Commit
02851bc9
authored
2 years ago
by
Mactavish
Browse files
Options
Downloads
Patches
Plain Diff
fix the indentation
parent
33df926a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang.md
+9
-11
9 additions, 11 deletions
clang.md
with
9 additions
and
11 deletions
clang.md
+
9
−
11
View file @
02851bc9
...
@@ -699,26 +699,23 @@ These are the variables that allow you to refer to the same name defined in `tar
...
@@ -699,26 +699,23 @@ These are the variables that allow you to refer to the same name defined in `tar
hello
:
p1 p2
hello
:
p1 p2
# Outputs "hello", since this is the target name
# Outputs "hello", since this is the target name
echo
$@
echo
$@
# Outputs all prerequisites newer than the target
# Outputs all prerequisites newer than the target
echo
$?
echo
$?
# Outputs all prerequisites
# Outputs all prerequisites
echo
$^
echo
$^
# Outputs the first prerequisite
# Outputs the first prerequisite
echo
$<
echo
$<
# create the target file
touch
hello
touch
hello
p1
:
p1
:
touch
p1
touch
p1
p2
:
p2
:
touch
p2
touch
p2
clean
:
clean
:
rm
-f
hello
p1
p2
rm
-f
hello p1 p2
```
```
#### Marcos/Variables
#### Marcos/Variables
...
@@ -751,13 +748,14 @@ CFLAGS = -g # Flag for implicit rules. Turn on debug info
...
@@ -751,13 +748,14 @@ CFLAGS = -g # Flag for implicit rules. Turn on debug info
# Implicit rule #1: blah is built via the C linker implicit rule
# Implicit rule #1: blah is built via the C linker implicit rule
# Implicit rule #2: blah.o is built via the C compilation implicit rule, because blah.c exists
# Implicit rule #2: blah.o is built via the C compilation implicit rule, because blah.c exists
blah
:
blah.o
blah
:
blah.o
blah.c
:
blah.c
:
echo
"int main() { return 0; }"
>
blah.c
echo
"int main() { return 0; }"
>
blah.c
clean
:
clean
:
rm
-f
blah
*
rm
-f
blah*
```
```
#### Pattern Rules
#### Pattern Rules
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment