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
73a9ced6
Commit
73a9ced6
authored
Sep 26, 2020
by
Lukas Lihotzki
Browse files
simplify Makefile
parent
ac61190b
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
73a9ced6
...
...
@@ -199,12 +199,11 @@ $(JS_WASM_TARGET): $(JS_OBJECTS) $(JS_PRE) $(JS_POST) $(JS_EXPORTED_FUNCTIONS) $
$(EMCCFLAGS_WASM)
\
$(
foreach
f,
$(JS_PRE)
,--pre-js
$(f)
)
\
$(
foreach
f,
$(JS_POST)
,--post-js
$(f)
)
\
$(
foreach
f,
$(JS_PREFIX)
,--extern-pre-js
$(f)
)
\
$(
foreach
f,
$(JS_SUFFIX)
,--extern-post-js
$(f)
)
\
-s
"EXPORTED_FUNCTIONS=@
$(JS_EXPORTED_FUNCTIONS)
"
\
-s
"EXTRA_EXPORTED_RUNTIME_METHODS=
$(JS_EXTRA_EXPORTED_RUNTIME_METHODS)
"
\
-o
$@
$(JS_OBJECTS)
mv
$@
javascript/olmtmp.js
cat
$(JS_PREFIX)
javascript/olmtmp.js
$(JS_SUFFIX)
>
$@
rm
javascript/olmtmp.js
$(JS_ASMJS_TARGET)
:
$(JS_OBJECTS) $(JS_PRE) $(JS_POST) $(JS_EXPORTED_FUNCTIONS) $(JS_PREFIX) $(JS_SUFFIX)
EMCC_CLOSURE_ARGS
=
"--externs
$(JS_EXTERNS)
"
$(EMCC_LINK)
\
...
...
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