Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
f0be7500
Commit
f0be7500
authored
Jun 26, 2014
by
Willemt
Browse files
Merge pull request #4 from MapQuest/linux_build_fixes
Fixes to build on Ubuntu (13.10)
parents
2b8c06c3
afe328ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
f0be7500
*.o
*.gcno
*~
libcraft.so
libcraft.a
Makefile
View file @
f0be7500
CONTRIB_DIR
=
.
TEST_DIR
=
./tests
LLQUEUE_DIR
=
$(CONTRIB_DIR)
/CLinkedListQueue
VPATH
=
src
GCOV_OUTPUT
=
*
.gcda
*
.gcno
*
.gcov
GCOV_CCFLAGS
=
-fprofile-arcs
-ftest-coverage
SHELL
=
/bin/bash
CFLAGS
+=
-Iinclude
-Werror
-Werror
=
return
-type
-Werror
=
uninitialized
-Wcast-align
\
-Wno-pointer-sign
-fno-omit-frame-pointer
-fno-common
-fsigned-char
\
$(GCOV_CCFLAGS)
-I
$(LLQUEUE_DIR)
-Iinclude
-g
-O2
$(GCOV_CCFLAGS)
-I
$(LLQUEUE_DIR)
-Iinclude
-g
-O2
-fPIC
UNAME
:=
$(
shell
uname
)
...
...
@@ -22,7 +23,7 @@ endif
OBJECTS
=
raft_server.o raft_server_properties.o raft_node.o raft_log.o
all
:
static shared
clinkedlistqueue
:
mkdir
-p
$(LLQUEUE_DIR)
/.git
git
--git-dir
=
$(LLQUEUE_DIR)
/.git init
...
...
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