forked from scarybeasts/beebjit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_headless_opt.sh
executable file
·26 lines (25 loc) · 1010 Bytes
/
build_headless_opt.sh
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
#!/bin/sh
set -e
gcc -Wall -W -Werror \
-Wno-unknown-warning-option -Wno-address-of-packed-member \
-fno-pie -no-pie -Wa,--noexecstack \
-O3 -DNDEBUG -flto -DBEEBJIT_HEADLESS -o beebjit \
main.c config.c bbc.c defs_6502.c state.c video.c via.c \
emit_6502.c interp.c inturbo.c state_6502.c sound.c timing.c \
jit_compiler.c cpu_driver.c \
jit_optimizer.c jit_opcode.c keyboard.c \
teletext.c render.c mc6850.c serial_ula.c \
log.c test.c adc.c cmos.c joystick.c \
tape.c tape_csw.c tape_uef.c \
intel_fdc.c wd_fdc.c \
disc_drive.c disc.c ibm_disc_format.c disc_tool.c \
disc_fsd.c disc_hfe.c disc_ssd.c disc_adl.c \
disc_rfi.c disc_kryo.c disc_scp.c disc_dfi.c \
debug.c expression.c jit.c \
util.c util_string.c util_container.c util_compress.c \
os.c \
asm/asm_abi.c asm/asm_tables.c asm/asm_util.c \
asm/asm_common.c asm/asm_common.S \
asm/asm_inturbo.c asm/asm_inturbo.S \
asm/asm_jit.c asm/asm_jit.S \
-lm -lpthread