OSDN Git Service

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