1 # Copyright 2007 TeX Users Group.
2 # Copyright 2014 Clerk Ma.
4 # You may freely use, modify and/or distribute this file.
12 CFLAGS=/nologo /c /MT /GF /Ox /W4 /DMSDOS /DTeX \
13 /I"kpathsea" /I"zlib" /I"libmd5" /D_CRT_SECURE_NO_WARNINGS \
14 -Wno-char-subscripts -Wno-dangling-else \
15 -Wno-deprecated-declarations
19 objs = yandytex.obj itex.obj openinou.obj subroute.obj local.obj \
20 tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \
21 tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
22 yandy_pool.obj yandytex.res md5.obj yandy_inlines.obj
25 $(LINK) $(LFLAGS) yandytex itex openinou subroute local \
26 tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
27 yandy_pool yandytex.res md5 yandy_inlines \
28 kpathsea\kpathsea.lib zlib\zlib.lib
29 del ..\yandy\bin\yandytex.exe
30 copy yandytex.exe ..\yandy\bin\yandytex.exe
33 $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
35 yandytex.res: yandytex.rc
36 rc /nologo yandytex.rc
38 yandytex.obj: yandytex.c \
39 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
40 $(CC) /DINITEX $(CFLAGS) yandytex.c
43 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
44 $(CC) /DINITEX $(CFLAGS) itex.c
46 openinou.obj: openinou.c \
47 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
48 $(CC) $(CFLAGS) openinou.c
50 subroute.obj: subroute.c \
51 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
52 $(CC) $(CFLAGS) subroute.c
55 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
56 $(CC) /DINITEX $(CFLAGS) local.c
59 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
62 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
65 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
68 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
71 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
74 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
77 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
80 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
83 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
86 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
88 yandy_pool.obj: yandy_pool.c \
89 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
91 yandy_inlines.obj: yandy_inlines.c \
92 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h