libgrapheme

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

commit 35e15b1196bd37a6a398102ae1966cc96fe8c8d2
parent e63137bfd44fa732e258ec09d76881494f4f943f
Author: Laslo Hunhold <dev@frign.de>
Date:   Sun, 18 Oct 2020 22:36:12 +0200

Don't compile tests by default

If someone decides to call "make test", it takes only a few microseconds
to compile the tests. Given they are more of a development tool and
might only be called when explicitly desired, it's a good measure not
to "litter" the working directory with compilates, also saving time
and energy for 99% of the cases.

Parsing the tables and compiling the library takes just 100ms on my
computer, but ignoring small things like these brought us many problems
we see in computing today, as small things tend to add up.

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

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -11,7 +11,7 @@ DATA = data/gbp data/emo data/gbt MAN3 = man/grapheme_bytelen.3 MAN7 = man/libgrapheme.7 -all: libgrapheme.a libgrapheme.so $(TEST) +all: libgrapheme.a libgrapheme.so data/gbp.h: data/gbp.txt data/gbp data/emo.h: data/emo.txt data/emo