From c181e7ee9bf236b24cdf8bf4c413885366e713a3 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 30 Jan 2019 23:15:14 +0000 Subject: Update tests for new backend approach --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9e16cfd..58dce34 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,6 @@ TARGET := $(BUILDDIR)/imv SOURCES := $(wildcard src/*.c) OBJECTS := $(patsubst src/%.c,$(BUILDDIR)/%.o,$(SOURCES)) TESTS := $(patsubst test/%.c,$(BUILDDIR)/test_%,$(wildcard test/*.c)) -TFLAGS ?= -g $(CFLAGS) $(CPPFLAGS) $(shell pkg-config --cflags cmocka) -TLIBS := $(LIBS) $(shell pkg-config --libs cmocka) VERSION != git describe --dirty --always --tags 2> /dev/null || echo v3.0.0 @@ -43,6 +41,9 @@ ifeq ($(BACKEND_LIBRSVG),yes) LIBS += $(shell pkg-config --libs librsvg-2.0) endif +TFLAGS ?= -g $(CFLAGS) $(CPPFLAGS) $(shell pkg-config --cflags cmocka) +TLIBS := $(LIBS) $(shell pkg-config --libs cmocka) + imv: $(TARGET) $(TARGET): $(OBJECTS) -- cgit v1.2.3