aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-30 23:15:14 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-30 23:15:14 +0000
commitc181e7ee9bf236b24cdf8bf4c413885366e713a3 (patch)
tree6751dbdc622ae18262ba24f6b306401729598b92 /Makefile
parentcfcf77f1ed76c66c9b1e9d4d213651749a6034ec (diff)
downloadimv-c181e7ee9bf236b24cdf8bf4c413885366e713a3.tar.gz
Update tests for new backend approach
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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)