summaryrefslogtreecommitdiff
path: root/support/translit/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/translit/Makefile
Initial commit
Diffstat (limited to 'support/translit/Makefile')
-rw-r--r--support/translit/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/support/translit/Makefile b/support/translit/Makefile
new file mode 100644
index 0000000000..39f62a68f3
--- /dev/null
+++ b/support/translit/Makefile
@@ -0,0 +1,33 @@
+# Makfile for translit contributed by Dominik Wujastyk <D.Wujastyk@ucl.ac.uk>
+# Modified to provide UNIX compilation and commented by
+# Jan Labanowski <jkl@osc.edu>
+# Read comments in the Makefile and modify it to suit your needs
+# When modifying, remember that you need to start all dependencies lines
+# (lines which have colon ":" in them) from the first column, and
+# lines below them have to start with a TAB character.
+#
+# Before you can make translit, you need to modify path.h file.
+#
+
+# if you do not use Gnu C, modify the line below to be:
+# CC=cc
+CC=gcc
+
+OBJS=translit.o reg_exp.o reg_sub.o
+
+# For OS/2, change lines below to be:
+# translit.exe: $(OBJS)
+# $(CC) -O -o translit.exe $(OBJS) # line has initial tab
+
+translit: $(OBJS)
+ $(CC) -O -o translit.exe $(OBJS) # line has initial tab
+
+# Dependencies
+
+translit.o : translit.c paths.h reg_exp.h
+reg_exp.o : reg_exp.c paths.h reg_exp.h
+reg_sub.o : reg_sub.c paths.h reg_exp.h
+
+clean:
+ rm *.o # change it to del *.o for OS/2
+