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
matrix-org
Olm
Commits
63265f10
Commit
63265f10
authored
May 20, 2016
by
Mark Haines
Browse files
Fix the Makefile so that it works with a clean git checkout
parent
ff4d210d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
63265f10
#!/usr/bin/make -f
BUILD_DIR
:=
build
# Make sure that the build directory exists.
# We can't check the build directory into git because it is empty.
BUILD_DIR
:=
$(
shell
mkdir
-p
build
;
echo
build
)
OPTIMIZE_FLAGS
?=
-g
-O3
TEST_OPTIMIZE_FLAGS
?=
-g
-O0
JS_OPTIMIZE_FLAGS
?=
-O3
...
...
@@ -22,8 +24,8 @@ JS_PRE := $(wildcard javascript/*pre.js)
JS_POST
:=
$(
wildcard
javascript/
*
post.js
)
CPPFLAGS
+=
-Iinclude
-Ilib
CFLAGS
+=
-Wall
-
-std
=
c89
-fPIC
CXXFLAGS
+=
-Wall
-
-std
=
c++11
-fPIC
CFLAGS
+=
-Wall
-std
=
c89
-fPIC
CXXFLAGS
+=
-Wall
-std
=
c++11
-fPIC
LDFLAGS
+=
-Wall
EMCCFLAGS
=
--closure
1
--memory-init-file
0
-s
NO_FILESYSTEM
=
1
-s
INVOKE_RUN
=
0
...
...
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