foxdos/tool/build

13 lines
224 B
Plaintext
Raw Normal View History

2023-10-27 21:54:33 -07:00
#!/bin/sh
for i in xxd; do which $i || exit; done
CC='cc -O3 -Iinc'
2023-10-27 21:54:33 -07:00
#for i in bin2h; do [ ! -f "$i" ] && $CC "$i.c" -o "$i"; done
2023-10-27 21:54:33 -07:00
# mothfs
nasm mfs_hdr.s && \
xxd -i mfs_hdr > inc/mfs_hdr.h && \
$CC mfstool.c -o mfstool