1 # Copyright 2007 TeX Users Group.
\r
2 # Copyright 2014 Clerk Ma.
\r
4 # You may freely use, modify and/or distribute this file.
\r
6 # Makefile for Y&YTeX (MSVC, tested on VS 2012 and VS 2013)
\r
12 CFLAGS=/nologo /c /MT /GF /Gy /W4 \
\r
13 /I"kpathsea" /I"zlib"
\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
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
30 yandytex.res: yandytex.rc
\r
31 $(RC) /nologo yandytex.rc
\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
38 texd.h yandytex.h memory.h coerce.h macros.h
\r
39 $(CC) $(CFLAGS) itex.c
\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
45 subroute.obj: subroute.c \
\r
46 texd.h yandytex.h memory.h coerce.h macros.h
\r
47 $(CC) $(CFLAGS) subroute.c
\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
54 texd.h yandytex.h memory.h coerce.h macros.h
\r
57 texd.h yandytex.h memory.h coerce.h macros.h
\r
60 texd.h yandytex.h memory.h coerce.h macros.h
\r
63 texd.h yandytex.h memory.h coerce.h macros.h
\r
66 texd.h yandytex.h memory.h coerce.h macros.h
\r
69 texd.h yandytex.h memory.h coerce.h macros.h
\r
72 texd.h yandytex.h memory.h coerce.h macros.h
\r
75 texd.h yandytex.h memory.h coerce.h macros.h
\r
78 texd.h yandytex.h memory.h coerce.h macros.h
\r
81 texd.h yandytex.h memory.h coerce.h macros.h
\r
84 texd.h yandytex.h memory.h coerce.h macros.h
\r
86 utils.obj: utils.c \
\r
87 texd.h yandytex.h memory.h coerce.h macros.h
\r
93 $(CC) $(CFLAGS) $*.c
\r