OSDN Git Service

removed unused module
[putex/putex.git] / src / texsourc / Makefile.win.msvc
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 (MSVC, tested on VS 2012 and VS 2013)
7
8 CC = cl
9 LINK = link
10 RC = rc
11
12 CFLAGS=/nologo /c /MT /GF /Gy /W4 \
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         pool.obj yandytex.res md5.obj utils.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         pool yandytex.res md5 utils \
26         kpathsea\kpathsea.lib zlib\zlib.lib
27         del ..\yandy\bin\yandytex.exe
28         copy yandytex.exe ..\yandy\bin\yandytex.exe
29
30 md5.obj: libmd5\md5.c
31         $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
32
33 yandytex.res: yandytex.rc
34         $(RC) /nologo yandytex.rc
35
36 yandytex.obj: yandytex.c \
37         texd.h yandytex.h memory.h coerce.h macros.h
38         $(CC) $(CFLAGS) yandytex.c
39
40 itex.obj: itex.c \
41         texd.h yandytex.h memory.h coerce.h macros.h
42         $(CC) $(CFLAGS) itex.c
43
44 openinou.obj: openinou.c \
45         texd.h yandytex.h memory.h coerce.h macros.h
46         $(CC) $(CFLAGS) openinou.c
47
48 subroute.obj: subroute.c \
49         texd.h yandytex.h memory.h coerce.h macros.h
50         $(CC) $(CFLAGS) subroute.c
51
52 local.obj: local.c \
53         texd.h yandytex.h memory.h coerce.h macros.h
54         $(CC) $(CFLAGS) local.c
55
56 tex0.obj: tex0.c \
57         texd.h yandytex.h memory.h coerce.h macros.h
58
59 tex1.obj: tex1.c \
60         texd.h yandytex.h memory.h coerce.h macros.h
61
62 tex2.obj: tex2.c \
63         texd.h yandytex.h memory.h coerce.h macros.h
64
65 tex3.obj: tex3.c \
66         texd.h yandytex.h memory.h coerce.h macros.h
67
68 tex4.obj: tex4.c \
69         texd.h yandytex.h memory.h coerce.h macros.h
70
71 tex5.obj: tex5.c \
72         texd.h yandytex.h memory.h coerce.h macros.h
73
74 tex6.obj: tex6.c \
75         texd.h yandytex.h memory.h coerce.h macros.h
76
77 tex7.obj: tex7.c \
78         texd.h yandytex.h memory.h coerce.h macros.h
79
80 tex8.obj: tex8.c \
81         texd.h yandytex.h memory.h coerce.h macros.h
82
83 tex9.obj: tex9.c \
84         texd.h yandytex.h memory.h coerce.h macros.h
85
86 pool.obj: pool.c \
87         texd.h yandytex.h memory.h coerce.h macros.h
88
89 utils.obj: utils.c \
90         texd.h yandytex.h memory.h coerce.h macros.h
91
92 .SUFFIXES:
93 .SUFFIXES: .obj .c
94
95 c..obj:
96         $(CC) $(CFLAGS) $*.c
97
98