mirror of
https://github.com/pruten/shoebill.git
synced 2024-11-15 17:08:36 +00:00
76f2b35170
- Fixed inst_ext, which was completely broken since last commit, whoops! - Added a bunch of __builtin_expect()s in all the critical paths, and now Marathon runs quite noticeably faster. - Fixed (I think) all the SDL makefiles
23 lines
531 B
Bash
Executable File
23 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CC=gcc
|
|
|
|
files=""
|
|
for i in adb fpu mc68851 mem via floppy core_api cpu dis; do
|
|
perl ../core/macro.pl ../core/$i.c $i.post.c
|
|
files="$files $i.post.c"
|
|
done
|
|
|
|
for i in SoftFloat/softfloat atrap_tab coff exception macii_symbols redblack scsi video filesystem alloc_pool toby_frame_buffer ethernet sound; do
|
|
files="$files ../core/$i.c"
|
|
done
|
|
|
|
$CC -O1 ../core/decoder_gen.c -o decoder_gen
|
|
./decoder_gen inst .
|
|
./decoder_gen dis .
|
|
|
|
|
|
cmd="$CC -O3 -ggdb -flto $files sdl.c -lpthread -lm -lSDL2 -lGL -o shoebill"
|
|
echo $cmd
|
|
$cmd
|