From 8987d13d3c1a62d2d1db6ecabb29bc76f3529a44 Mon Sep 17 00:00:00 2001 From: kaa Date: Wed, 5 Jul 2023 13:32:01 -0700 Subject: Add spanish hyphenation patterns, and support for building an executable that finds those hyphenation patterns. --- makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3