From 269fb9bca7bef679935001e30dcf60031253bbf9 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Mon, 21 Jan 2019 00:34:01 +0000 Subject: Add rsvg backend --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6a05aa8..ca41af0 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,12 @@ CONFIGPREFIX ?= /etc CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes CFLAGS += -std=c99 +CFLAGS += $(shell pkg-config --cflags librsvg-2.0) CPPFLAGS += $(shell sdl2-config --cflags) -D_XOPEN_SOURCE=700 -LIBS := $(shell sdl2-config --libs) -lfreeimage -lpng -lSDL2_ttf -lfontconfig -lpthread +LIBS := $(shell sdl2-config --libs) +LIBS += -lfreeimage -lpng +LIBS += $(shell pkg-config --libs librsvg-2.0) +LIBS += -lSDL2_ttf -lfontconfig -lpthread BUILDDIR ?= build TARGET := $(BUILDDIR)/imv -- cgit v1.2.3