1 # Copyright 2007 TeX Users Group.
2 # Copyright 2014 Clerk Ma.
4 # You may freely use, modify and/or distribute this file.
6 # Makefile for Y&YTeX (MSVC, tested on VS 2012 and VS 2013)
12 CFLAGS=/nologo /c /MT /GF /Gy /W4 \
13 /I"kpathsea" /I"zlib" /I"libmd5"
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
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
31 $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
33 yandytex.res: yandytex.rc
34 $(RC) /nologo yandytex.rc
36 yandytex.obj: yandytex.c \
37 texd.h yandytex.h memory.h coerce.h macros.h
38 $(CC) $(CFLAGS) yandytex.c
41 texd.h yandytex.h memory.h coerce.h macros.h
42 $(CC) $(CFLAGS) itex.c
44 openinou.obj: openinou.c \
45 texd.h yandytex.h memory.h coerce.h macros.h
46 $(CC) $(CFLAGS) openinou.c
48 subroute.obj: subroute.c \
49 texd.h yandytex.h memory.h coerce.h macros.h
50 $(CC) $(CFLAGS) subroute.c
53 texd.h yandytex.h memory.h coerce.h macros.h
54 $(CC) $(CFLAGS) local.c
57 texd.h yandytex.h memory.h coerce.h macros.h
60 texd.h yandytex.h memory.h coerce.h macros.h
63 texd.h yandytex.h memory.h coerce.h macros.h
66 texd.h yandytex.h memory.h coerce.h macros.h
69 texd.h yandytex.h memory.h coerce.h macros.h
72 texd.h yandytex.h memory.h coerce.h macros.h
75 texd.h yandytex.h memory.h coerce.h macros.h
78 texd.h yandytex.h memory.h coerce.h macros.h
81 texd.h yandytex.h memory.h coerce.h macros.h
84 texd.h yandytex.h memory.h coerce.h macros.h
87 texd.h yandytex.h memory.h coerce.h macros.h
90 texd.h yandytex.h memory.h coerce.h macros.h