From b0e11e5895c1a9ce5d8aef97f2fc16bf0d981c01 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 12 May 2022 13:12:18 -0400 Subject: [PATCH] automatically run tests when compiling --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f0f0b1a..0a88041 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,9 @@ OBJECTS := $(patsubst $(SRCDIR)/%.cpp, $(OBJDIR)/%.o, $(SOURCES)) BIN := $(BINDIR)/orbital_shipping -all: mkdirs $(BIN) +all: mkdirs $(BIN) tests + @# automatically run tests when (re-)compiling + @${TEST_BIN} .PHONY: all tests: $(TEST_BIN)