Makefile群
[makefiles.git] / latex_mk / Makefile
1 # texファイルから作成されるpdfまたはdviファイルを
2 # ターゲットファイルとして指定
3 #
4 # make および make all でのターゲットファイルになるほか、
5 # latex.mkで、ターゲットファイルに対応する依存関係が
6 # 自動的に作成されてdファイルに格納される。
7 # また、tex-distcleanの削除対象になる。
8 #
9 # 初期設定では、ディレクトリにあるすべてのtexファイル
10 TARGETS := $(subst .tex,.pdf,$(wildcard *.tex))
11
12 .PHONY: all clean distclean
13
14 all: $(TARGETS)
15
16 include latex.mk
17
18 clean: tex-clean
19
20 distclean: tex-distclean