libgrapheme

grapheme cluster utility library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | LICENSE

commit 2435843c63e1967f2836e571f1b30eac84e7b01b
parent b487c712407a1e17168b8b89696f7569bc981bbf
Author: Laslo Hunhold <dev@frign.de>
Date:   Mon,  1 Jun 2020 12:46:41 +0200

Move up test target and add explicit dependency

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
MMakefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -17,6 +17,9 @@ MAN7 = man/libgrapheme.7 all: libgrapheme.a libgrapheme.so $(BIN) +test: src/test + ./$< + src/test: src/test.o $(REQ:=.o) src/boundary.o: src/boundary.c config.mk grapheme.h @@ -37,9 +40,6 @@ libgrapheme.a: $(REQ:=.o) libgrapheme.so: $(REQ:=.o) $(CC) -o $@ -shared $? -test: - ./src/test - src/boundary.c: data/gbp.awk $(GBP) data/emo.awk $(EMO) src/boundary_body.c printf "/* Automatically generated by gbp.awk and emo.awk */\n" > $@ printf "#include <stdint.h>\n\n" >> $@