blob: 84b0f2189fa023cb98e315b1b8233b822091db13 (
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
|
CC = cc
#CC = tcc
CFLAGS = -Wall -I/usr/local/include
CFLAGS += -std=c89
LDFLAGS = -L/usr/local/lib -lhyphen
LDFLAGS += -static
bindir = /home/kaa/bin
all: hyp
hyp:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ en.c hyp.c
hyp-es:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ es.c hyp.c
clean:
rm -f hyp hyp-es
install: all
cp hyp $(bindir)/hyp
cp unhyp $(bindir)/unhyp
uninstall:
rm -f $(bindir)/hyp
rm -f $(bindir)/unhyp
|