OSDN Git Service

show_inter_val().
[putex/putex.git] / src / texsourc / makefile
1 # Copyright 2007 TeX Users Group.
2 # Copyright 2014 Clerk Ma.
3 #
4 # You may freely use, modify and/or distribute this file.
5
6 # Makefile for Y&YTeX
7
8 CC = cl
9 LINK = link
10 RC = rc
11
12 CFLAGS=/nologo /c /MT /GF /Gy /Ox /W4 /DMSDOS /DTeX /DPHARLAP /DNDEBUG \
13         /I"kpathsea" /I"zlib" /I"libmd5"
14
15 # Link with MS LINK
16 # LFLAGS=@yandytex.nt /MAP lib\libdos.lib
17 # Release version
18 # LFLAGS=/MAP lib\libdos.lib
19 LFLAGS=/NOLOGO /MAP
20 # /MACHINE:X86
21 # debugging version
22 # LFLAGS=@yandytex.nt /MAP /DEBUG /PDB:yandytex.pdb lib\libdos.lib
23 # LFLAGS=/MAP /DEBUG /PDB:yandytex.pdb
24
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
29
30 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
31
32 yandytex.exe: $(objs)
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 # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
41 md5.obj: libmd5\md5.c
42         $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c
43
44 yandytex.res: yandytex.rc
45         rc /nologo yandytex.rc
46
47 yandytex.obj: yandytex.c \
48         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
49         $(CC) /DINITEX /DINI $(CFLAGS) yandytex.c
50
51 itex.obj: itex.c \
52         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
53         $(CC) /DINITEX $(CFLAGS) itex.c
54
55 openinou.obj: openinou.c \
56         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
57         $(CC) $(CFLAGS) openinou.c
58
59 subroute.obj: subroute.c \
60         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
61         $(CC) $(CFLAGS) subroute.c
62
63 local.obj: local.c \
64         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
65         $(CC) /DINITEX $(CFLAGS) local.c
66
67 tex0.obj: tex0.c \
68         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
69
70 tex1.obj: tex1.c \
71         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
72
73 tex2.obj: tex2.c \
74         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
75
76 tex3.obj: tex3.c \
77         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
78
79 tex4.obj: tex4.c \
80         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
81
82 tex5.obj: tex5.c \
83         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
84
85 tex6.obj: tex6.c \
86         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
87
88 tex7.obj: tex7.c \
89         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
90
91 tex8.obj: tex8.c \
92         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
93
94 tex9.obj: tex9.c \
95         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
96
97 yandy_pool.obj: yandy_pool.c \
98         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
99
100 yandy_inlines.obj: yandy_inlines.c \
101         texd.h texmf.h texmfmem.h coerce.h yandy_macros.h
102
103 .SUFFIXES:
104 .SUFFIXES: .obj .c
105
106 c..obj:
107         $(CC) $(CFLAGS) $*.c
108