OXYGENHUB
◆ main x16-emulator / build_rom_debug.sh
373 B · Bourne Again Shell (bash) · executable · last changed chore(): initial commit 15 days ago source blame history raw
1
#!/bin/bash
2
set -e
3
4
# build ROM
5
(cd ../x16-rom/; make clean all)
6
7
# copy ROM labels & LST
8
cp ../x16-rom/build/x16/rom_labels.h src
9
cp ../x16-rom/build/x16/rom_lst.h src
10
11
# update ROM symbols (for keyboard injection)
12
sh rom_symbols.sh
13
14
# always force re-build of main.c because of updated rom_labels.h
15
rm -f build/main.o
16
17
# build emulator with `-trace` support
18
TRACE=1 make