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 /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG \
13 /I"kpathsea" /I"zlib" /I"libmd5"
16 # LFLAGS=@yandytex.nt /MAP lib\libdos.lib
18 # LFLAGS=/MAP lib\libdos.lib
22 # LFLAGS=@yandytex.nt /MAP /DEBUG /PDB:yandytex.pdb lib\libdos.lib
23 # LFLAGS=/MAP /DEBUG /PDB:yandytex.pdb
25 objs = yandytex.obj itex.obj openinou.obj subroute.obj local.obj \
26 tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \
27 tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
28 yandy_pool.obj yandytex.res md5.obj yandy_inlines.obj
30 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
33 $(LINK) $(LFLAGS) yandytex itex openinou subroute local \
34 tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
35 yandy_pool yandytex.res md5 yandy_inlines\
36 kpathsea\kpathsea.lib libpng\libpng.lib zlib\zlib.lib \
37 dvipdfmx\libdvipdfmx.lib
38 del ..\yandy\bin\yandytex.exe
39 copy yandytex.exe ..\yandy\bin\yandytex.exe
40 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
42 $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
44 yandytex.res: yandytex.rc
45 rc /nologo yandytex.rc
47 yandytex.obj: yandytex.c \
48 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
49 $(CC) /DINITEX /DINI $(CFLAGS) yandytex.c
52 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
53 $(CC) /DINITEX $(CFLAGS) itex.c
55 openinou.obj: openinou.c \
56 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
57 $(CC) $(CFLAGS) openinou.c
59 subroute.obj: subroute.c \
60 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
61 $(CC) $(CFLAGS) subroute.c
64 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
65 $(CC) /DINITEX $(CFLAGS) local.c
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
89 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
92 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
95 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
97 yandy_pool.obj: yandy_pool.c \
98 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
100 yandy_inlines.obj: yandy_inlines.c \
101 texd.h texmf.h texmfmem.h coerce.h yandy_macros.h