OSDN Git Service

65535 fonts support (adjusted hash array).
[putex/putex.git] / src / texsourc / makefile
1 # Copyright 2007 TeX Users Group.
2 # Copyright 2014 Clerk Ma.
3 #
4 # You may freely use, modify and/or distribute this file.
5
6 # Makefile for Y&YTeX
7
8 CC = cl
9 LINK = link
10 RC = rc
11
12 CFLAGS=/nologo /c /MT /GF /Gy /Ox /W4 /DMSDOS /DTeX \
13         /I"kpathsea" /I"zlib" /I"libmd5"
14
15 LFLAGS=/NOLOGO /MAP
16
17 objs = yandytex.obj itex.obj openinou.obj subroute.obj local.obj \
18         tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \
19         tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
20         yandy_pool.obj yandytex.res md5.obj yandy_inlines.obj
21
22 yandytex.exe: $(objs)
23         $(LINK) $(LFLAGS) yandytex itex openinou subroute local \
24         tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
25         yandy_pool yandytex.res md5 yandy_inlines \
26         kpathsea\kpathsea.lib libpng\libpng.lib zlib\zlib.lib \
27         dvipdfmx\libdvipdfmx.lib
28         del ..\yandy\bin\yandytex.exe
29         copy yandytex.exe ..\yandy\bin\yandytex.exe
30
31 md5.obj: libmd5\md5.c
32         $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
33
34 yandytex.res: yandytex.rc
35         rc /nologo yandytex.rc
36
37 yandytex.obj: yandytex.c \
38         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
39         $(CC) /DINITEX $(CFLAGS) yandytex.c
40
41 itex.obj: itex.c \
42         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
43         $(CC) /DINITEX $(CFLAGS) itex.c
44
45 openinou.obj: openinou.c \
46         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
47         $(CC) $(CFLAGS) openinou.c
48
49 subroute.obj: subroute.c \
50         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
51         $(CC) $(CFLAGS) subroute.c
52
53 local.obj: local.c \
54         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
55         $(CC) /DINITEX $(CFLAGS) local.c
56
57 tex0.obj: tex0.c \
58         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
59
60 tex1.obj: tex1.c \
61         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
62
63 tex2.obj: tex2.c \
64         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
65
66 tex3.obj: tex3.c \
67         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
68
69 tex4.obj: tex4.c \
70         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
71
72 tex5.obj: tex5.c \
73         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
74
75 tex6.obj: tex6.c \
76         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
77
78 tex7.obj: tex7.c \
79         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
80
81 tex8.obj: tex8.c \
82         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
83
84 tex9.obj: tex9.c \
85         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
86
87 yandy_pool.obj: yandy_pool.c \
88         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
89
90 yandy_inlines.obj: yandy_inlines.c \
91         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
92
93 .SUFFIXES:
94 .SUFFIXES: .obj .c
95
96 c..obj:
97         $(CC) $(CFLAGS) $*.c
98