mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
Most HDA Intel soundcards are to some degree retaskable, i e can be used for more than one thing. This tool is a GUI to make it easy to retask your jacks - e g, turn your Mic jack into an extra Headphone, or why not make them both line outs and connect them to your surround receiver? Signed-off-by: David Henningsson <david.henningsson@canonical.com>
18 lines
532 B
Makefile
18 lines
532 B
Makefile
SOURCES = main-gtk.c sysfs-pin-configs.c apply-changes.c
|
|
|
|
build:
|
|
$(shell sed 's/\\/\\\\/g;s/"/\\"/g;s/^/"/;s/$$/\\n"/;' < README > README.generated.h)
|
|
gcc -g -O0 -Wall -o hda-jack-retask $(SOURCES) $(shell pkg-config --cflags --libs gtk+-3.0)
|
|
|
|
clean:
|
|
-rm hda-jack-retask
|
|
-rm README.generated.h
|
|
|
|
install:
|
|
install -Dm755 hda-jack-retask $(DESTDIR)/usr/bin/hda-jack-retask
|
|
install -Dm644 README $(DESTDIR)/usr/share/doc/hda-jack-retask/README
|
|
|
|
uninstall:
|
|
-rm $(DESTDIR)/usr/bin/hda-jack-retask
|
|
|
|
.PHONY: build install uninstall
|