Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-20sp
project05
Commits
4f9dc188
Commit
4f9dc188
authored
5 years ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
Update Makefile
parent
f3ba5127
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+1
-2
Makefile
with
1 addition
and
2 deletions
+1
-2
Makefile
View file @
4f9dc188
...
...
@@ -26,14 +26,13 @@ STUDENT_LIBS = vector list \
STUDENT_TESTS
=
$(
subst
.c,,
$(
subst
tests/student/,,
$(
wildcard
tests/student/
*
.c
)))
TEST_BINS
=
$(
addprefix
bin/test_suite_,
$(STUDENT_LIBS)
)
bin/student_tests
$(
addprefix
bin/,
$(STUDENT_TESTS)
)
# List of compiled .o files corresponding to STUDENT_LIBS, e.g. "out/vector.o".
# Don't worry about the syntax; it's just adding "out/" to the start
# and ".o" to the end of each value in STUDENT_LIBS.
STUDENT_OBJS
=
$(
addprefix
out/,
$(STUDENT_LIBS:=.o)
)
# List of test suite executables, e.g. "bin/test_suite_vector"
TEST_BINS
=
$(
addprefix
bin/test_suite_,
$(STUDENT_LIBS)
)
bin/student_tests
$(
addprefix
bin/,
$(STUDENT_
LIB
S)
)
TEST_BINS
=
$(
addprefix
bin/test_suite_,
$(STUDENT_LIBS)
)
bin/student_tests
$(
addprefix
bin/,
$(STUDENT_
TEST
S)
)
# List of demo executables, i.e. "bin/bounce".
DEMO_BINS
=
$(
addprefix
bin/,
$(DEMOS)
)
# All executables (the concatenation of TEST_BINS and DEMO_BINS)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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
Menu
Projects
Groups
Snippets
Help