Explicitly clear suffix list and fix a small oversight - libgrapheme - unicode … | |
git clone git://git.suckless.org/libgrapheme | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6a70e181676e97dfe8a4b9b369ef15d286caf772 | |
parent ed7ebdc7f7fa748f89372e034d6d983835db5d42 | |
Author: Laslo Hunhold <[email protected]> | |
Date: Wed, 5 Oct 2022 22:57:33 +0200 | |
Explicitly clear suffix list and fix a small oversight | |
The suffix list contains some rules defined by the standard. This | |
masked that gen/util.o was never covered by the rules c->o, which | |
has been fixed. | |
Signed-off-by: Laslo Hunhold <[email protected]> | |
Diffstat: | |
M Makefile | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -1,6 +1,7 @@ | |
# See LICENSE file for copyright and license details | |
# libgrapheme - unicode string library | |
.POSIX: | |
+.SUFFIXES: | |
include config.mk | |
@@ -227,7 +228,7 @@ man/grapheme_encode_utf8.3: man/grapheme_encode_utf8.sh con… | |
man/libgrapheme.7: man/libgrapheme.sh config.mk | |
-$(GEN:=.o): | |
+$(GEN:=.o) gen/util.o: | |
$(BUILD_CC) -c -o $@ $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) $(@:.o=.c) | |
$(BENCHMARK:=.o) $(TEST:=.o): |