From d56bf7cae8157f6f75ccc59df1c945603e510f7d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 7 Apr 2024 08:28:32 -0300 Subject: src/lib.c: Print project metadata on pindaiba_main --- Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 33cbe67..d5ba524 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,10 @@ all: $(derived-assets) lib$(NAME).a: $(sources.o) $(NAME).a: $(sources.o) src/main.o -src/config.h: Makefile deps.mk -$(sources.o) $(tests.o) src/main.o: Makefile deps.mk src/config.h -tests/slurp.o: tests/slurp.h Makefile deps.mk src/config.h +src/config.h: Makefile deps.mk +$(sources.o) $(tests.o): Makefile deps.mk src/config.h +src/main.o: src/$(NAME).h Makefile deps.mk src/config.h +tests/slurp.o: Makefile deps.mk src/config.h $(archives): @@ -115,7 +116,13 @@ $(tests.bin-check): check-unit: $(tests.bin-check) -check-integration: +integration-tests = \ + tests/cli-opts.sh \ + +$(integration-tests): $(NAME).bin ALWAYS + sh $@ $(EXEC)$(NAME).bin + +check-integration: $(integration-tests) ## Run all tests. Each test suite is isolated, so that a parallel -- cgit v1.2.3