Explicitly list util.o for benchmark/ and test/ as well - libgrapheme - unicode… | |
git clone git://git.suckless.org/libgrapheme | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3ebd28c3e3ce50fd3370c587a0ec66e6c9489c83 | |
parent 6a70e181676e97dfe8a4b9b369ef15d286caf772 | |
Author: Laslo Hunhold <[email protected]> | |
Date: Wed, 5 Oct 2022 23:48:51 +0200 | |
Explicitly list util.o for benchmark/ and test/ as well | |
Signed-off-by: Laslo Hunhold <[email protected]> | |
Diffstat: | |
M Makefile | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -231,7 +231,7 @@ man/libgrapheme.7: man/libgrapheme.sh config.mk | |
$(GEN:=.o) gen/util.o: | |
$(BUILD_CC) -c -o $@ $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) $(@:.o=.c) | |
-$(BENCHMARK:=.o) $(TEST:=.o): | |
+$(BENCHMARK:=.o) benchmark/util.o $(TEST:=.o) test/util.o: | |
$(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(@:.o=.c) | |
$(SRC:=.o): |