X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Ftexsourc%2FMakefile.win.clang;h=7c132bfe6b65f1f4cfb995b898d1be536f5171bf;hb=ae80400414b6d1c308c3e3036a267ca50549c016;hp=7f5915f4a83382dc10b7a0d672e34897e900fbc3;hpb=065ab3b4065a0065b5013107cd3a24e8b6cbfa57;p=putex%2Fputex.git diff --git a/src/texsourc/Makefile.win.clang b/src/texsourc/Makefile.win.clang index 7f5915f..7c132bf 100644 --- a/src/texsourc/Makefile.win.clang +++ b/src/texsourc/Makefile.win.clang @@ -1,99 +1,96 @@ -# Copyright 2007 TeX Users Group. -# Copyright 2014 Clerk Ma. -# -# You may freely use, modify and/or distribute this file. -# -# Makefile for Y&YTeX (tested on Clang/LLVM 3.4) - -CC = clang-cl -LINK = link -RC = rc - -CFLAGS=/nologo /c /MT /GF /Ox /W4 \ - /I"kpathsea" /I"zlib" /I"libmd5" /D_CRT_SECURE_NO_WARNINGS \ - -Wno-char-subscripts -Wno-dangling-else \ - -Wno-deprecated-declarations - -LFLAGS=/NOLOGO /MAP - -objs = yandytex.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 \ - pool.obj yandytex.res md5.obj utils.obj - -yandytex.exe: $(objs) - $(LINK) $(LFLAGS) yandytex itex openinou subroute local \ - tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \ - pool yandytex.res md5 utils \ - kpathsea\kpathsea.lib zlib\zlib.lib - del ..\yandy\bin\yandytex.exe - copy yandytex.exe ..\yandy\bin\yandytex.exe - -md5.obj: libmd5\md5.c - $(CC) -Ilibmd5 $(CFLAGS) libmd5\md5.c - -yandytex.res: yandytex.rc - $(RC) /nologo yandytex.rc - -yandytex.obj: yandytex.c \ - texd.h yandytex.h memory.h coerce.h macros.h - $(CC) $(CFLAGS) yandytex.c - -itex.obj: itex.c \ - texd.h yandytex.h memory.h coerce.h macros.h - $(CC) $(CFLAGS) itex.c - -openinou.obj: openinou.c \ - texd.h yandytex.h memory.h coerce.h macros.h - $(CC) $(CFLAGS) openinou.c - -subroute.obj: subroute.c \ - texd.h yandytex.h memory.h coerce.h macros.h - $(CC) $(CFLAGS) subroute.c - -local.obj: local.c \ - texd.h yandytex.h memory.h coerce.h macros.h - $(CC) $(CFLAGS) local.c - -tex0.obj: tex0.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex1.obj: tex1.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex2.obj: tex2.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex3.obj: tex3.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex4.obj: tex4.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex5.obj: tex5.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex6.obj: tex6.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex7.obj: tex7.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex8.obj: tex8.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -tex9.obj: tex9.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -pool.obj: pool.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -utils.obj: utils.c \ - texd.h yandytex.h memory.h coerce.h macros.h - -.SUFFIXES: -.SUFFIXES: .obj .c - -c..obj: - $(CC) $(CFLAGS) $*.c - +# Copyright 2007 TeX Users Group. +# Copyright 2014 Clerk Ma. +# +# You may freely use, modify and/or distribute this file. +# +# Makefile for Y&YTeX (tested on Clang/LLVM 3.4) + +CC = clang-cl +LINK = link +RC = rc + +CFLAGS=/nologo /c /MT /GF /Ox /W4 \ + /I"kpathsea" /I"zlib" /D_CRT_SECURE_NO_WARNINGS \ + -Wno-char-subscripts -Wno-dangling-else \ + -Wno-deprecated-declarations + +LFLAGS=/NOLOGO /MAP + +objs = yandytex.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 \ + pool.obj yandytex.res utils.obj + +yandytex.exe: $(objs) + $(LINK) $(LFLAGS) yandytex itex openinou subroute local \ + tex0 tex1 tex2 tex3 tex4 tex5 tex6 tex7 tex8 tex9 \ + pool yandytex.res md5 utils \ + kpathsea\kpathsea.lib zlib\zlib.lib + del ..\yandy\bin\yandytex.exe + copy yandytex.exe ..\yandy\bin\yandytex.exe + +yandytex.res: yandytex.rc + $(RC) /nologo yandytex.rc + +yandytex.obj: yandytex.c \ + texd.h yandytex.h memory.h coerce.h macros.h + $(CC) $(CFLAGS) yandytex.c + +itex.obj: itex.c \ + texd.h yandytex.h memory.h coerce.h macros.h + $(CC) $(CFLAGS) itex.c + +openinou.obj: openinou.c \ + texd.h yandytex.h memory.h coerce.h macros.h + $(CC) $(CFLAGS) openinou.c + +subroute.obj: subroute.c \ + texd.h yandytex.h memory.h coerce.h macros.h + $(CC) $(CFLAGS) subroute.c + +local.obj: local.c \ + texd.h yandytex.h memory.h coerce.h macros.h + $(CC) $(CFLAGS) local.c + +tex0.obj: tex0.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex1.obj: tex1.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex2.obj: tex2.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex3.obj: tex3.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex4.obj: tex4.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex5.obj: tex5.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex6.obj: tex6.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex7.obj: tex7.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex8.obj: tex8.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +tex9.obj: tex9.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +pool.obj: pool.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +utils.obj: utils.c \ + texd.h yandytex.h memory.h coerce.h macros.h + +.SUFFIXES: +.SUFFIXES: .obj .c + +c..obj: + $(CC) $(CFLAGS) $*.c +