OSDN Git Service

new makefile.
authormaqiyuan <maqiyuan@users.sourceforge.jp>
Fri, 29 Aug 2014 03:25:07 +0000 (11:25 +0800)
committermaqiyuan <maqiyuan@users.sourceforge.jp>
Fri, 29 Aug 2014 03:25:07 +0000 (11:25 +0800)
src/texsourc/Makefile.macosx.clang.static [new file with mode: 0644]

diff --git a/src/texsourc/Makefile.macosx.clang.static b/src/texsourc/Makefile.macosx.clang.static
new file mode 100644 (file)
index 0000000..4f098aa
--- /dev/null
@@ -0,0 +1,80 @@
+#\r
+# Copyright (c) 2014 Clerk Ma\r
+#\r
+# You may freely use, modify and/or distribute this file.\r
+#\r
+# makefile for Mac OS X (tested in 10.9).\r
+#\r
+\r
+CC = clang\r
+CFLAGS = -g -c -O2 -Wno-unused-result -I/Users/maqiyuan/dev/extra/include\r
+LDFLAGS = /Users/maqiyuan/dev/extra/lib/libkpathsea.a libdpx.a libpng.a libpaper.a libz.a -lm\r
+\r
+objects = yandytex.o itex.o openinou.o subroute.o local.o \\r
+       tex0.o tex1.o tex2.o tex3.o tex4.o \\r
+       tex5.o tex6.o tex7.o tex8.o tex9.o \\r
+       pool.o utils.o dpx.o\r
+\r
+headers = yandytex.h texd.h coerce.h macros.h memory.h\r
+\r
+yandytex: $(objects)\r
+       $(CC) -o yandytex $(objects) $(LDFLAGS)\r
+\r
+yandytex.o: yandytex.c $(headers)\r
+       $(CC) $(CFLAGS) yandytex.c\r
+\r
+dpx.o: dpx.c $(headers)\r
+       $(CC) $(CFLAGS) dpx.c\r
+\r
+itex.o: itex.c $(headers)\r
+       $(CC) $(CFLAGS) itex.c\r
+\r
+openinou.o: openinou.c $(headers)\r
+       $(CC) $(CFLAGS) openinou.c\r
+\r
+subroute.o: subroute.c $(headers)\r
+       $(CC) $(CFLAGS) subroute.c\r
+\r
+local.o: local.c $(headers)\r
+       $(CC) $(CFLAGS) local.c\r
+\r
+tex0.o: tex0.c $(headers)\r
+       $(CC) $(CFLAGS) tex0.c\r
+\r
+tex1.o: tex1.c $(headers)\r
+       $(CC) $(CFLAGS) tex1.c\r
+\r
+tex2.o: tex2.c $(headers)\r
+       $(CC) $(CFLAGS) tex2.c\r
+\r
+tex3.o: tex3.c $(headers)\r
+       $(CC) $(CFLAGS) tex3.c\r
+\r
+tex4.o: tex4.c $(headers)\r
+       $(CC) $(CFLAGS) tex4.c\r
+\r
+tex5.o: tex5.c $(headers)\r
+       $(CC) $(CFLAGS) tex5.c\r
+\r
+tex6.o: tex6.c $(headers)\r
+       $(CC) $(CFLAGS) tex6.c\r
+\r
+tex7.o: tex7.c $(headers)\r
+       $(CC) $(CFLAGS) tex7.c\r
+\r
+tex8.o: tex8.c $(headers)\r
+       $(CC) $(CFLAGS) tex8.c\r
+\r
+tex9.o: tex9.c $(headers)\r
+       $(CC) $(CFLAGS) tex9.c\r
+\r
+pool.o: pool.c $(headers)\r
+       $(CC) $(CFLAGS) pool.c\r
+\r
+utils.o: utils.c $(headers)\r
+       $(CC) $(CFLAGS) utils.c\r
+\r
+.PHONY: clean\r
+\r
+clean:\r
+       rm yandytex *.o\r