-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathstanza.proj
More file actions
52 lines (42 loc) · 1.49 KB
/
stanza.proj
File metadata and controls
52 lines (42 loc) · 1.49 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
include "examples/stanza.proj"
package stz/line-noise-prompter requires :
ccfiles: "runtime/linenoise.c"
package stz/vm requires :
ccfiles: "build/cvm.o"
package stz/code-template-table requires :
ccfiles: "compiler/exec-alloc.c"
compile file "build/cvm.o" from "compiler/cvm.c" :
on-platform :
os-x : "cc -std=gnu99 '{.}/compiler/cvm.c' -c -o '{.}/build/cvm.o' -O3 -D PLATFORM_OS_X"
linux : "cc -std=gnu99 '{.}/compiler/cvm.c' -c -o '{.}/build/cvm.o' -O3 -D PLATFORM_LINUX -fPIC"
windows : "gcc -std=gnu99 '{.}\\compiler\\cvm.c' -c -o '{.}\\build\\cvm.o' -O3 -D PLATFORM_WINDOWS"
package core/sha256 requires :
ccfiles: "build/sha256.o"
compile file "build/sha256.o" from "core/sha256.c" :
on-platform :
os-x : "cc -std=gnu99 '{.}/core/sha256.c' -c -o '{.}/build/sha256.o' -O3"
linux : "cc -std=gnu99 '{.}/core/sha256.c' -c -o '{.}/build/sha256.o' -O3 -fPIC"
windows : "gcc -std=gnu99 '{.}\\core\\sha256.c' -c -o '{.}\\build\\sha256.o' -O3"
package core/threaded-reader requires :
ccfiles: "core/threadedreader.c"
package core/dynamic-library requires :
ccfiles: "core/dynamic-library.c"
package stz/asmjit requires :
ccflags:
on-platform :
os-x :
"-L{.}/bin"
"-lasmjit"
"-lc++"
linux :
"-L{.}/bin"
"-lasmjit"
"-lstdc++"
"-lrt"
windows :
"-L{.}/bin"
"-lasmjit"
"-lstdc++"
package stz/macro-plugin requires :
ccfiles: "compiler/macro-handshake.c"
ccflags: "-shared"