summaryrefslogtreecommitdiff
path: root/support/translit/Makefile.unx
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.unx
Initial commit
Diffstat (limited to 'support/translit/Makefile.unx')
-rw-r--r--support/translit/Makefile.unx27
1 files changed, 27 insertions, 0 deletions
diff --git a/support/translit/Makefile.unx b/support/translit/Makefile.unx
new file mode 100644
index 0000000000..e9e25c3786
--- /dev/null
+++ b/support/translit/Makefile.unx
@@ -0,0 +1,27 @@
+# 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.
+#
+
+CC=cc
+
+OBJS=translit.o reg_exp.o reg_sub.o
+
+translit: $(OBJS)
+ $(CC) -O -o translit $(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 # line has initial tab
+
+