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 <dev@frign.de>
diff --git a/Makefile b/Makefile index 1f9edc7..4a474cc 100644 --- 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/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):