summaryrefslogtreecommitdiff
path: root/chinese/c2t/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/c2t/files/patch-Makefile')
-rw-r--r--chinese/c2t/files/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/chinese/c2t/files/patch-Makefile b/chinese/c2t/files/patch-Makefile
new file mode 100644
index 000000000000..5f94a834b3f1
--- /dev/null
+++ b/chinese/c2t/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig 1993-02-24 14:21:39.000000000 +0800
++++ Makefile 2011-09-05 14:22:03.000000000 +0800
+@@ -1,9 +1,9 @@
+-CC=cc
++DEFINE= -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\"
+
+ all: c2t
+
+ c2t: c2t.o
+- $(CC) -O -o c2t c2t.o
++ $(CC) $(CFLAGS) $(DEFINE) -o c2t c2t.o
+
+ c2t.o: c2t.c
+- $(CC) -O -c c2t.c
++ $(CC) $(CFLAGS) $(DEFINE) -c c2t.c