-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (15 loc) · 659 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Default build for x64
cake_lpr: basis_ffi.c cake_lpr.S
gcc basis_ffi.c cake_lpr.S -o cake_lpr -std=c99
# To compile for native ARMv8 (replace gcc with your compiler)
cake_lpr_arm8: basis_ffi.c cake_lpr_arm8.S
gcc basis_ffi.c cake_lpr_arm8.S -o cake_lpr -std=c99
# armv8 version (emulation on x64)
#cake_lpr_arm8_emu: basis_ffi.c cake_lpr_arm8.S
# aarch64-linux-gnu-gcc -static basis_ffi.c cake_lpr_arm8.S -o cake_lpr_arm8
# Default build with 64 GB heap and 16 GB stack for starexec
starexec: basis_ffi.c cake_lpr.S
gcc basis_ffi.c cake_lpr.S -o cake_lpr -std=c99 \
-DCML_HEAP_SIZE=65536 -DCML_STACK_SIZE=16384
clean:
rm -fv cake_lpr cake_lpr_arm8