diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-28 02:11:32 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-28 02:11:32 +0100 |
commit | 73a2298c1dc18d419b9b5cbd09300aad87401324 (patch) | |
tree | dc666f21b5179222f0bbdd9692d1a893042aff49 /Makefile | |
download | pulse-volume-change-notify-73a2298c1dc18d419b9b5cbd09300aad87401324.tar.gz pulse-volume-change-notify-73a2298c1dc18d419b9b5cbd09300aad87401324.tar.xz pulse-volume-change-notify-73a2298c1dc18d419b9b5cbd09300aad87401324.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2aef974 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +TARGET=volume-change-notify +MODULE=module-$(TARGET) + +PULSEAUDIO=$(HOME)/tmp/pulseaudio-2.1 +DBUS_CFLAGS=$(shell pkg-config --cflags dbus-1) +DBUS_LDFLAGS=$(shell pkg-config --libs dbus-1) + +CFLAGS=-I$(PULSEAUDIO) -I$(PULSEAUDIO)/src $(DBUS_CFLAGS) +LDFLAGS=$(DBUS_LDFLAGS) + +$(MODULE).so: $(MODULE).c + gcc $(CFLAGS) $(LDFLAGS) -fPIC -shared -o $@ $< + +clean: + $(RM) $(MODULE).so |