From 0ef067ee3c394a296a8e091e8b365e29036df085 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 2 Nov 2019 16:37:16 +0100 Subject: Makefile add test --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5b3dcac..13462bc 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,10 @@ build: dir $(OBJ) debug: CFLAGS += -g -D _DEBUG debug: build; +test: LDFLAGS += -Wl,-etest_main +test: debug + $(BUILDDIR)/$(OUTPUT) + dir: @mkdir -p $(OBJECTDIR) @mkdir -p $(BUILDDIR) -- cgit v1.2.3