diff --git a/Makefile b/Makefile index b728ead..b7d9f80 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,9 @@ PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man/man1 -CFLAGS = -Os -march=native -mtune=native -pipe -s -flto -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 +LDFLAGS != pkg-config --libs libsixel +INCFLAGS != pkg-config --cflags libsixel +CFLAGS = -Os -march=native -mtune=native -pipe -s -flto -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(INCFLAGS) SRC = ccc.c util.c file.c icons.c