blob: 36e3e9fd07eaea115080f0cfc25f9ed4d3ececdb (
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
|
CC = cc
CFLAGS = -O
all: swortcp ttb texbib texswlist
swortcp:
$(CC) $(CFLAGS) -o swortcp swortcp.c
ttb:
$(CC) $(CFLAGS) -o ttb ttb.c
texbib:
sed -e 's|AAAAA|$(DESTDIR)|' \
-e 's|BBBBB|$(TEXBIN)|' \
-e 's|CCCCC|$(TIBDIR)/inputs|' \
texbib.sh > texbib
texswlist:
sed -e 's|AAAAA|$(TIBDIR)|' \
-e 's|BBBBB|$(DESTDIR)|' \
-e 's|CCCCC|$(TIBDIR)/inputs|' \
-e 's|DDDDD|$(TEXBIN)|' \
texswlist.sh > texswlist
clean:
rm -f swortcp ttb texbib texswlist
|