summaryrefslogtreecommitdiff
path: root/support/translit/Makefile.unx
blob: e9e25c37861f2bff24a6cd9263681e630205c921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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