Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vinniel
makefile
Commits
42283dac
Commit
42283dac
authored
Jan 13, 2019
by
Marcus M. Darden
Browse files
Reorganize to combine the first two TODO's at the top of the file.
parent
0e9d05d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment