-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (25 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Options := -os windows -prod
x64RpcInternals := alternate/default-x64.v
x86RpcInternals := alternate/default-x86.v
RpcInternals := internals/rpc-internal-structs.v
all: decompile-x64 decompile-x86 details-x64 details-x86 list-x64 list-x86
decompile-x64: ${x64RpcInternals} examples/decompile.v
cp ${<} ${RpcInternals}
v ${Options} examples/decompile.v -o examples/${@}.exe
decompile-x86: ${x86RpcInternals} examples/decompile.v
cp ${<} ${RpcInternals}
v ${Options} examples/decompile.v -o examples/${@}.exe
details-x64: ${x64RpcInternals} examples/details.v
cp ${<} ${RpcInternals}
v ${Options} examples/details.v -o examples/${@}.exe
details-x86: ${x86RpcInternals} examples/details.v
cp ${<} ${RpcInternals}
v ${Options} examples/details.v -o examples/${@}.exe
list-x64: ${x64RpcInternals} examples/list.v
cp ${<} ${RpcInternals}
v ${Options} examples/list.v -o examples/${@}.exe
list-x86: ${x86RpcInternals} examples/list.v
cp ${<} ${RpcInternals}
v ${Options} examples/list.v -o examples/${@}.exe
clean:
rm -f examples/*.exe ${RpcInternals}