From 3c380f9b63fe1c1eafec12db8db0461b0d3a17e5 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 3 May 2012 19:44:23 +0000 Subject: [PATCH] Add LIBDIR and INCLUDEDIR defines. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ac6467..27af991 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c argvsplit.c include buildsys.mk -CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 +CFLAGS += -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\" -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 install-extra: mkdir -p $(DESTDIR)/$(datarootdir)/aclocal