commit d4c7b68eeb913ba3fa796f16868420028b3adc43
parent 76f5ec3cb9336f353bb68fe9560664667106a65a
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 14 Jan 2014 15:54:29 -0800
Move setting of PKG_CONFIG and WAYLAND_SCANNER to Makefile
This way a sane default will be used if none is specified in config.mk
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,6 +2,9 @@
include config.mk
+PKG_CONFIG ?= pkg-config
+WAYLAND_SCANNER ?= wayland-scanner
+
VERSION_MAJOR := 0
VERSION_MINOR := 0
VERSION := $(VERSION_MAJOR).$(VERSION_MINOR)
diff --git a/config.mk b/config.mk
@@ -7,8 +7,6 @@ PKGCONFIGDIR = $(LIBDIR)/pkgconfig
CC = gcc
CFLAGS = -pipe
-PKG_CONFIG ?= pkg-config
-WAYLAND_SCANNER ?= wayland-scanner
ENABLE_DEBUG = 1