Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
makefile
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
EECS 281
makefile
Commits
83bb429c
Commit
83bb429c
authored
7 years ago
by
paoletti
Browse files
Options
Downloads
Patches
Plain Diff
Added automatic removal of perf data files.
parent
26db5337
No related branches found
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
Makefile
+4
-1
4 additions, 1 deletion
Makefile
with
4 additions
and
1 deletion
Makefile
+
4
−
1
View file @
83bb429c
...
...
@@ -52,6 +52,9 @@ PROJECTFILE = $(or $(wildcard project*.cpp), nomain.cpp)
PARTIAL_SUBMITFILE
=
partialsubmit.tar.gz
FULL_SUBMITFILE
=
fullsubmit.tar.gz
# name of the perf data file, only used by the clean target
PERF_FILE
=
perf.data
*
#Default Flags (would prefer -std=c++17 but Mac/Xcode/Clang doesn't support)
CXXFLAGS
=
-std
=
c++1z
-Wconversion
-Wall
-Werror
-Wextra
-pedantic
...
...
@@ -110,7 +113,7 @@ alltests: clean $(TESTS)
# make clean - remove .o files, executables, tarball
clean
:
rm
-f
$(
OBJECTS
)
$(
EXECUTABLE
)
$(
DEBUG
)
$(
TESTS
)
$(
PARTIAL_SUBMITFILE
)
$(
FULL_SUBMITFILE
)
rm
-f
$(
OBJECTS
)
$(
EXECUTABLE
)
$(
DEBUG
)
$(
TESTS
)
$(
PARTIAL_SUBMITFILE
)
$(
FULL_SUBMITFILE
)
$(
PERF_FILE
)
rm
-Rf
*
.dSYM
# make partialsubmit.tar.gz - cleans, runs dos2unix, creates tarball omitting test cases
...
...
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