Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
9e8bb9f0
Commit
9e8bb9f0
authored
Jan 13, 2014
by
willem
Browse files
Cleaned up makefile
parent
cbebc0ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
9e8bb9f0
CONTRIB_DIR
=
..
CONTRIB_DIR
=
..
HASHMAP_DIR
=
$(CONTRIB_DIR)
/CHashMapViaLinkedList
BITSTREAM_DIR
=
$(CONTRIB_DIR)
/CBitstream
LLQUEUE_DIR
=
$(CONTRIB_DIR)
/CLinkedListQueue
LLQUEUE_DIR
=
$(CONTRIB_DIR)
/CLinkedListQueue
GCOV_OUTPUT
=
*
.gcda
*
.gcno
*
.gcov
GCOV_OUTPUT
=
*
.gcda
*
.gcno
*
.gcov
GCOV_CCFLAGS
=
-fprofile-arcs
-ftest-coverage
GCOV_CCFLAGS
=
-fprofile-arcs
-ftest-coverage
SHELL
=
/bin/bash
SHELL
=
/bin/bash
CC
=
gcc
CC
=
gcc
CCFLAGS
=
-g
-O2
-Werror
-Werror
=
return
-type
-Werror
=
uninitialized
-Wcast-align
-fno-omit-frame-pointer
-fno-common
-fsigned-char
$(GCOV_CCFLAGS)
-I
$(HASHMAP_DIR)
-I
$(BITSTREAM_DIR)
-I
$(LLQUEUE_DIR)
CCFLAGS
=
-g
-O2
-Werror
-Werror
=
return
-type
-Werror
=
uninitialized
-Wcast-align
-fno-omit-frame-pointer
-fno-common
-fsigned-char
$(GCOV_CCFLAGS)
-I
$(LLQUEUE_DIR)
all
:
tests_main
all
:
tests_main
...
@@ -16,10 +14,10 @@ clinkedlistqueue:
...
@@ -16,10 +14,10 @@ clinkedlistqueue:
git
--git-dir
=
$(LLQUEUE_DIR)
/.git init
git
--git-dir
=
$(LLQUEUE_DIR)
/.git init
pushd
$(LLQUEUE_DIR)
;
git pull git@github.com:willemt/CLinkedListQueue.git
;
popd
pushd
$(LLQUEUE_DIR)
;
git pull git@github.com:willemt/CLinkedListQueue.git
;
popd
download-contrib
:
c
bitstream
download-contrib
:
c
linkedlistqueue
main_test.c
:
main_test.c
:
if
test
-d
$(
HASHMAP
_DIR)
;
\
if
test
-d
$(
LLQUEUE
_DIR)
;
\
then
echo
have contribs
;
\
then
echo
have contribs
;
\
else
make download-contrib
;
\
else
make download-contrib
;
\
fi
fi
...
...
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