# CFLAGS=-c -DDOS -DMSDOS -DPHARLAP -DTeX -DMYDEBUG -Ilib -YX -Ox -Ge -Gy -Gf -W4
# Release version
# CFLAGS=/c /Ge /Gy /Gf /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG /Ilib /YX
-CFLAGS=/nologo /c /MD /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG
+CFLAGS=/nologo /c /MT /GF /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG \
+ /I"kpathsea"
+# /I"libharu/include" /I"libharu/win32/include"
# Debugging version
-# CFLAGS=/c /Ge /Gy /Gf /Od /Zi /W4 /DMSDOS /DTeX /DPHARLAP /Ilib /YX
+# CFLAGS=/c /Ge /Gy /Gf /Od /Zi /W4 /DMSDOS /DTeX /DPHARLAP /Ilib /YX
# NOTE: -Ox => -Ogityb1 -Gs
# LFLAGS=@yandytex.nt /MAP lib\libdos.lib
# Release version
# LFLAGS=/MAP lib\libdos.lib
-LFLAGS=/MAP /MACHINE:X86
+LFLAGS=/MAP
+# /MACHINE:X86
# debugging version
# LFLAGS=@yandytex.nt /MAP /DEBUG /PDB:yandytex.pdb lib\libdos.lib
# LFLAGS=/MAP /DEBUG /PDB:yandytex.pdb
objs = texmf.obj itex.obj openinou.obj subroute.obj local.obj \
tex0.obj tex1.obj tex2.obj tex3.obj tex4.obj \
- tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj yandytex.res
+ tex5.obj tex6.obj tex7.obj tex8.obj tex9.obj \
+ yandy_pool.obj yandytex.res md5.obj md5file.obj
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
# # LIBHARU
texmf.exe: $(objs)
$(LINK) $(LFLAGS) texmf itex openinou subroute local \
- tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 yandytex.res
+ tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \
+ yandy_pool yandytex.res md5 md5file kpathsea\kpathsea.lib
+# kpathsea\kpathsea.lib libharu\libhpdf.lib libpng\libpng.lib zlib\zlib.lib
copy texmf.exe yandytex.exe
del ..\yandy\bin\texmf.exe
copy texmf.exe ..\yandy\bin\texmf.exe
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
+md5.obj: libmd5\md5.c
+ $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
+
+md5file.obj: md5file.c
+ $(CC) -Ilibmd5 $(CFLAGS) md5file.c
+
yandytex.res: yandytex.rc
rc yandytex.rc
tex9.obj: tex9.c \
texd.h texmf.h texmfmem.h coerce.h lib.h config.h common.h
+yandy_pool.obj: yandy_pool.c \
+ texd.h texmf.h texmfmem.h coerce.h lib.h config.h common.h
+
.SUFFIXES:
.SUFFIXES: .obj .c