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