mirror of
https://github.com/datajerk/c2d.git
synced 2024-12-26 18:29:47 +00:00
22 lines
280 B
Bash
Executable File
22 lines
280 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd asm
|
|
make clean
|
|
PATH=../cc65-2.13.3/bin:$PATH make
|
|
|
|
(
|
|
echo "/*"
|
|
expand loader.s
|
|
echo "*/"
|
|
/usr/bin/xxd -i loader | sed 's/loader/loadercode/'
|
|
|
|
echo "/*"
|
|
expand bar.s
|
|
echo "*/"
|
|
/usr/bin/xxd -i bar | sed 's/bar/barcode/'
|
|
) > ../c2d.h.1
|
|
|
|
cd ..
|
|
|
|
cat c2d.h.[01] > c2d.h
|