Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
c_cpp_and_make
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
pub
hello-world
c_cpp_and_make
Commits
548c36cc
Commit
548c36cc
authored
4 years ago
by
Erik Strand
Browse files
Options
Downloads
Patches
Plain Diff
Update clean commands
parent
f7f15f1c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
01_hello_world/Makefile
+1
-1
1 addition, 1 deletion
01_hello_world/Makefile
02_control_structures/Makefile
+1
-1
1 addition, 1 deletion
02_control_structures/Makefile
with
2 additions
and
2 deletions
01_hello_world/Makefile
+
1
−
1
View file @
548c36cc
...
@@ -31,4 +31,4 @@ hello_world_cpp: hello_world.cpp
...
@@ -31,4 +31,4 @@ hello_world_cpp: hello_world.cpp
# anything. Otherwise Make would get confused about when it should run this rule.
# anything. Otherwise Make would get confused about when it should run this rule.
.PHONY
:
clean
.PHONY
:
clean
clean
:
clean
:
rm
hello_world_c hello_world_cpp
rm
-f
hello_world_c hello_world_cpp
This diff is collapsed.
Click to expand it.
02_control_structures/Makefile
+
1
−
1
View file @
548c36cc
...
@@ -19,4 +19,4 @@ functions: functions.c
...
@@ -19,4 +19,4 @@ functions: functions.c
.PHONY
:
clean
.PHONY
:
clean
clean
:
clean
:
rm
loops functions
rm
-f
loops functions
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