1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-04-25 19:11:52 +08:00

initial import to public repository

This commit is contained in:
Zhang Fuxin
2021-10-27 19:14:51 +08:00
commit c632bed67e
362 changed files with 53748 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# 注意为了保持生成的文件宽度相同每个源文件最长的行应该都保持为80不够的可以在某一行末尾添空格
# 理论上各种Mono的字体应该都可以满足但实际测试发现很多字体并不能保证生成的字符宽度一致。
%.c.png:%.c
pygmentize -f png -O encoding=utf8,font_name='SimSun',line_numbers=False $< -o $@
# pygmentize -f png -O encoding=utf8,font_name='Noto Sans Mono CJK SC',line_numbers=False $< -o $@
%.S.png:%.S
pygmentize -f png -O encoding=utf8,font_name='SimSun',line_numbers=False $< -o $@
# pygmentize -f png -O encoding=utf8,font_name='Noto Sans Mono CJK SC',line_numbers=False $< -o $@
%.txt.png:%.txt
pygmentize -f png -O encoding=utf8,font_name='SimSun',line_numbers=False $< -o $@
all: fun.c.png fun_mips.S.png fun_la.S.png varg.c.png simple.c.png simple.S.png simple_nofp.S.png normal.c.png normal.S.png dynamic.c.png dynamic.S.png keyboard_interrupt.txt.png syscall_write.S.png
@echo 'done'
clean:
rm -f *.png