2007-06-21から1日間の記事一覧

SCons 最初の一歩

Makefile ファイルにあたるのは SConstruct ファイル.中身は python のプログラム. 参照 SCons User Guide 0.97, Simple Builds hello world SConstruct: Program('hello', 'hello.c') そして, $ sconsとすると,Linux では hello ができ,Windows では h…

vim で新しい filetype 判定を追加する

vim

~/.vim/filetype.vim を作成する. if exists("did_load_filetypes") finish endif augroup filetypedetect au! BufNewFile,BufRead SConstruct setfiletype python augroup END 参考 vim で :help new-filetype