diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-01-21 16:09:02 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-22 21:05:39 -0500 |
commit | 0027e9422fa7205d0a50b995fbe172c35c9ce379 (patch) | |
tree | 6ace11eb26204dffe902bc722ee604ab94d7a67e /Makefile | |
parent | 4aa7581f9dc97e3c8b01a9411cf665158895f4c0 (diff) | |
download | mirror-ponymix-0027e9422fa7205d0a50b995fbe172c35c9ce379.tar.gz mirror-ponymix-0027e9422fa7205d0a50b995fbe172c35c9ce379.tar.bz2 mirror-ponymix-0027e9422fa7205d0a50b995fbe172c35c9ce379.zip |
add support for libnotify based notifier
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,13 +6,19 @@ base_LIBS = -lm libpulse_CXXFLAGS = $(shell pkg-config --cflags libpulse) libpulse_LIBS = $(shell pkg-config --libs libpulse) +libnotify_CXXFLAGS = $(shell pkg-config --cflags libnotify 2>/dev/null && echo "-DHAVE_NOTIFY") +libnotify_LIBS = $(shell pkg-config --libs libnotify 2>/dev/null) + + CXXFLAGS := \ $(base_CXXFLAGS) \ + $(libnotify_CXXFLAGS) \ $(libpulse_CXXFLAGS) \ $(CXXFLAGS) LDLIBS := \ $(base_LIBS) \ + $(libnotify_LIBS) \ $(libpulse_LIBS) all: ponymix |