summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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