Fixed Makefile for Catch2 tests.

This commit is contained in:
Jerome 2021-12-18 17:00:07 +01:00
parent d344e6cf17
commit 1df7427f7d

View file

@ -22,10 +22,10 @@ OBJECTS = $(SOURCES:$(SRC_PATH)/%.$(SRC_EXT)=$(BUILD_PATH)/%.o)
DEPS = $(OBJECTS:.o=.d)
# flags #
COMPILE_FLAGS = -std=c++17 -Wall -Wextra -O0 -MMD -fprofile-arcs -ftest-coverage -g -lgcov
COMPILE_FLAGS = -std=c++17 -Wall -Wextra -O0 -fprofile-arcs -ftest-coverage -g
INCLUDES = -I include/ -I ../include/ -I /usr/local/include
# Space-separated pkg-config libraries used by this project
LIBS =
LIBS = -lgcov
.PHONY: default_target
default_target: debug