Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wasm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
wasm-watermarker
Commits
4f0298e8
Verified
Commit
4f0298e8
authored
Jan 05, 2020
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🆕
Embed watermarks to ammo.wasm.wasm
parent
bcc2f0b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
.gitignore
example/ammo.js/.gitignore
+1
-0
Makefile
example/ammo.js/Makefile
+54
-0
No files found.
example/ammo.js/.gitignore
0 → 100644
View file @
4f0298e8
ammo-*
example/ammo.js/Makefile
0 → 100644
View file @
4f0298e8
SNPI
:=
../../build/src/snpi
AS
:=
../../build/binaryen/src/binaryen-build/bin/wasm-as
W1
:=
60b725f1
W2
:=
0c9c85c7
W3
:=
0d97880d
W4
:=
fe8191b3
all
:
\
ammo-1-${W1} ammo-2-${W1} ammo-3-${W1}
\
ammo-1-${W2} ammo-2-${W2} ammo-3-${W2}
\
ammo-1-${W3} ammo-2-${W3} ammo-3-${W3}
\
ammo-1-${W4} ammo-2-${W4} ammo-3-${W4}
\
#
ammo-1-${W1}
:
ammo-1-${W1}/ammo.wasm.js ammo-1-${W1}/ammo.wasm.wasm
ammo-1-${W2}
:
ammo-1-${W2}/ammo.wasm.js ammo-1-${W2}/ammo.wasm.wasm
ammo-1-${W3}
:
ammo-1-${W3}/ammo.wasm.js ammo-1-${W3}/ammo.wasm.wasm
ammo-1-${W4}
:
ammo-1-${W4}/ammo.wasm.js ammo-1-${W4}/ammo.wasm.wasm
ammo-2-${W1}
:
ammo-2-${W1}/ammo.wasm.js ammo-2-${W1}/ammo.wasm.wasm
ammo-2-${W2}
:
ammo-2-${W2}/ammo.wasm.js ammo-2-${W2}/ammo.wasm.wasm
ammo-2-${W3}
:
ammo-2-${W3}/ammo.wasm.js ammo-2-${W3}/ammo.wasm.wasm
ammo-2-${W4}
:
ammo-2-${W4}/ammo.wasm.js ammo-2-${W4}/ammo.wasm.wasm
ammo-3-${W1}
:
ammo-3-${W1}/ammo.wasm.js ammo-3-${W1}/ammo.wasm.wasm
ammo-3-${W2}
:
ammo-3-${W2}/ammo.wasm.js ammo-3-${W2}/ammo.wasm.wasm
ammo-3-${W3}
:
ammo-3-${W3}/ammo.wasm.js ammo-3-${W3}/ammo.wasm.wasm
ammo-3-${W4}
:
ammo-3-${W4}/ammo.wasm.js ammo-3-${W4}/ammo.wasm.wasm
ammo-%/ammo.wasm.js
:
ammo.js/builds/ammo.wasm.js
@
mkdir
-p
${
@D
}
cp
$<
$@
ammo-1-%/ammo.wasm.wasm
:
ammo.js/builds/ammo.wasm.wasm
@
mkdir
-p
${
@D
}
${
SNPI
}
$<
funcord
${
@
:zlib-1-%.wasm
=%
}
>
${
@
:%.wasm
=%.wast
}
${
AS
}
${
@
:%.wasm
=%.wast
}
-o
$@
${
RM
}
${
@
:%.wasm
=%.wast
}
ammo-2-%/ammo.wasm.wasm
:
ammo.js/builds/ammo.wasm.wasm
@
mkdir
-p
${
@D
}
${
SNPI
}
$<
opswap
${
@
:zlib-2-%.wasm
=%
}
>
${
@
:%.wasm
=%.wast
}
${
AS
}
${
@
:%.wasm
=%.wast
}
-o
$@
${
RM
}
${
@
:%.wasm
=%.wast
}
ammo-3-%/ammo.wasm.wasm
:
ammo-1-%/ammo.wasm.wasm
@
mkdir
-p
${
@D
}
${
SNPI
}
$<
opswap
${
@
:zlib-3-%.wasm
=%
}
>
${
@
:%.wasm
=%.wast
}
${
AS
}
${
@
:%.wasm
=%.wast
}
-o
$@
${
RM
}
${
@
:%.wasm
=%.wast
}
clean
:
${
RM
}
-rf
ammo-
*
.PHONY
:
all clean
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