summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-07-05 13:32:01 -0700
committerkaa <kaa@disroot.org>2023-07-05 13:32:01 -0700
commit8987d13d3c1a62d2d1db6ecabb29bc76f3529a44 (patch)
tree01ee36e8f13438d6cc707f9b918c9ce3af4a5ba4 /makefile
parent09819bcd940492c8ccc48284880f8bc652a2845a (diff)
Add spanish hyphenation patterns, and support for building an executable that finds those hyphenation patterns.
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/makefile b/makefile
index f58cf19..84b0f21 100644
--- a/makefile
+++ b/makefile
@@ -4,16 +4,17 @@ 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)
+all: hyp
-.c:
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+hyp:
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ en.c hyp.c
+hyp-es:
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ es.c hyp.c
clean:
- rm -f $(out)
+ rm -f hyp hyp-es
install: all
cp hyp $(bindir)/hyp