From d64dd9790bc9e0f27018a39a5cd5a592e9b31877 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 29 Apr 2020 17:00:03 +0200 Subject: [PATCH] added test target to clean, build, and run tester tool --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46d1ed8..649948c 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,11 @@ $(LIBNAME).hpp: $(HDRS) cat $$h >> $(LIBNAME).hpp; \ done -.PHONY: clean install +.PHONY: test clean install + +test: + make -C tester clean + make -C tester && tester/tester clean: $(RM) $(OBJS) $(DEPS) $(REALNAME) $(LIBNAME).hpp