DEBUG=1
COVERAGE=0
INSTALL=install
+FLEX=flex
+BISON=bison
ifndef PREFIX
PREFIX=/usr
endif
endif
LIBS += -lm
-LIBS += -L $(TOPDIR)/libi3 -li3
+# Darwin (Mac OS X) doesn’t have librt
+ifneq ($(UNAME),Darwin)
+LIBS += -lrt
+endif
+LIBS += -L $(TOPDIR) -li3
LIBS += $(call ldflags_for_lib, xcb-event,xcb-event)
LIBS += $(call ldflags_for_lib, xcb-keysyms,xcb-keysyms)
ifeq ($(shell pkg-config --exists xcb-util 2>/dev/null || echo 1),1)
LIBS += -lgcov
endif
+V ?= 0
+ifeq ($(V),0)
# Don’t print command lines which are run
.SILENT:
+endif
# Always remake the following targets
.PHONY: install clean dist distclean