[問題] 有 global 的 Makefile 嗎?

作者: Gold740716 (項為之強)   2016-11-20 22:07:29
現在寫報告,會寫成 html 再印成 pdf 。
我的 Makefile 是這樣:
%.pdf: %.html style.css
wkhtmltopdf
作者: Bencrie   2016-11-21 01:26:00
alias + make -f 不行嗎?就 alias makepdf='make -f /path/to/Makefile'用的時候就 makepdf xxx.pdf
作者: Gold740716 (項為之強)   2016-11-21 12:46:00
好像不錯
作者: lantw44 (#######################)   2016-11-21 14:12:00
gmake 看起來沒有這功能,bmake 似乎有 /etc/make.conf看錯了,bmake 應該是 /usr/share/mk/sys.mk 才對

Links booklink

Contact Us: admin [ a t ] ucptt.com