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
42283dac
Commit
42283dac
authored
6 years ago
by
Marcus M. Darden
Browse files
Options
Downloads
Patches
Plain Diff
Reorganize to combine the first two TODO's at the top of the file.
parent
0e9d05d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+15
-12
15 additions, 12 deletions
Makefile
with
15 additions
and
12 deletions
Makefile
+
15
−
12
View file @
42283dac
...
...
@@ -17,6 +17,21 @@
# 3. Files you want to include in your final submission cannot match the
# test*.cpp pattern.
#######################
# TODO (begin) #
#######################
# Change EXECUTABLE to match the command name given in the project spec.
EXECUTABLE
=
executable
DEBUG
=
$(
EXECUTABLE
)
_debug
# If main() is in a file named project*.cpp, use the following line
PROJECTFILE
=
$(
or
$(
wildcard project
*
.cpp
)
,
$(
EXECUTABLE
)
.cpp
)
# If main() is in another file delete line above, edit and uncomment below
#PROJECTFILE = mymainfile.cpp
#######################
# TODO (end) #
#######################
# enables c++17 on CAEN or 281 autograder
PATH
:=
/usr/um/gcc-6.2.0/bin:
$(
PATH
)
LD_LIBRARY_PATH
:=
/usr/um/gcc-6.2.0/lib64
...
...
@@ -28,11 +43,6 @@ LD_RUN_PATH := /usr/um/gcc-6.2.0/lib64
# REMOTE_BASEDIR := w18/eecs281 # /home/mmdarden/w18/eecs281/project0
REMOTE_BASEDIR
:=
eecs281
# TODO
# Change EXECUTABLE to match the command name given in the project spec.
EXECUTABLE
=
executable
DEBUG
=
$(
EXECUTABLE
)
_debug
# designate which compiler to use
CXX
=
g++
...
...
@@ -47,13 +57,6 @@ SOURCES := $(filter-out $(TESTSOURCES), $(SOURCES))
# list of objects used in project
OBJECTS
=
$(
SOURCES:%.cpp
=
%.o
)
# TODO
# If main() is in a file named project*.cpp, use the following line
PROJECTFILE
=
$(
or
$(
wildcard project
*
.cpp
)
,
$(
EXECUTABLE
)
.cpp
)
# TODO
# If main() is in another file delete line above, edit and uncomment below
#PROJECTFILE = mymainfile.cpp
# name of the tarball created for submission
PARTIAL_SUBMITFILE
=
partialsubmit.tar.gz
FULL_SUBMITFILE
=
fullsubmit.tar.gz
...
...
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