[hackers] [libgrapheme] Don't compile tests by default || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Sun, 18 Oct 2020 22:38:48 +0200 (CEST)

commit 35e15b1196bd37a6a398102ae1966cc96fe8c8d2
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Sun Oct 18 22:36:12 2020 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Sun Oct 18 22:36:12 2020 +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_AT_frign.de>

diff --git a/Makefile b/Makefile
index fd7d686..808e7e7 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -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
Received on Sun Oct 18 2020 - 22:38:48 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 18 2020 - 22:48:34 CEST