diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-01-30 23:15:14 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-01-30 23:15:14 +0000 |
commit | c181e7ee9bf236b24cdf8bf4c413885366e713a3 (patch) | |
tree | 6751dbdc622ae18262ba24f6b306401729598b92 /Makefile | |
parent | cfcf77f1ed76c66c9b1e9d4d213651749a6034ec (diff) | |
download | imv-c181e7ee9bf236b24cdf8bf4c413885366e713a3.tar.gz |
Update tests for new backend approach
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |