blob: 2aef974228d62876695933791f87dae672e46799 (
plain) (
tree)
|
|
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
|