swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 78e8dc3e66379c5b44a8b0f473ccac6ea16fb5cc
parent a07636521fd6a486acc7c9c80b85c906a2a7f041
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 20 Jul 2014 14:09:07 -0700

Add constraint for libinput version

Diffstat:
MMakefile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -22,6 +22,8 @@ TARGETS := swc.pc SUBDIRS := launch libswc protocol cursor example CLEAN_FILES := $(TARGETS) +libinput_CONSTRAINTS := >= 0.4 + include config.mk ifeq ($(if $(V),$(V),0), 0) @@ -50,7 +52,7 @@ compile = $(call quiet,CC) $(FINAL_CPPFLAGS) $(FINAL_CFLAGS) -I . -c -o $@ $ -MMD -MP -MF .deps/$(basename $<).d -MT $(basename $@).o -MT $(basename $@).lo link = $(call quiet,CCLD,$(CC)) $(LDFLAGS) -o $@ $^ pkgconfig = $(sort $(foreach pkg,$(1),$(if $($(pkg)_$(3)),$($(pkg)_$(3)), \ - $(shell $(PKG_CONFIG) --$(2) $(pkg))))) + $(shell $(PKG_CONFIG) --$(2) $(pkg) "$($(pkg)_CONSTRAINTS)")))) include $(SUBDIRS:%=%/local.mk)