You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
549 B
25 lines
549 B
BASE=awsm
|
|
SFCC=silverfish
|
|
CC=clang
|
|
WASMCC=wasm32-unknown-unknown-wasm-clang
|
|
|
|
OPTFLAGS=-O3 -flto
|
|
#same stack-size for all
|
|
WASMLINKFLAGS=-Wl,-z,stack-size=524288,--allow-undefined,--no-threads,--stack-first,--no-entry,--export-all,--export=main,--export=dummy
|
|
WASMCFLAGS=${WASMLINKFLAGS} -nostartfiles
|
|
|
|
BASE_DIR=../../
|
|
RT_DIR=${BASE_DIR}/runtime/
|
|
RT_INC=${RT_DIR}/include/
|
|
|
|
USE_MEM=USE_MEM_VM
|
|
|
|
ifeq ($(USE_MEM),USE_MEM_VM)
|
|
MEMC=${RT_DIR}/compiletime/memory/64bit_nix.c
|
|
endif
|
|
|
|
WASMISA=${RT_DIR}/compiletime/instr.c
|
|
|
|
BIN_DIR=${RT_DIR}/bin/
|
|
TMP_DIR=tmp/
|