Include snd_config_search and snd_config_set_string
[rrq/lsp-utils.git] / Makefile
1 # Building archives and the test? apps
2
3 default: .archives
4
5 ####################
6 SUBDIR = $(dir $(wildcard */Makefile))
7
8 .PHONY: .archives
9 .archives:
10         for D in ${SUBDIR} ; do $(MAKE) -C $$D ; done
11
12 .PHONY: .clean
13 .clean:
14         for D in ${SUBDIR} ; do $(MAKE) -C $$D clean ; done
15
16 ####################
17 PACKNL = ${HOME}/src/borta/packnl/packnl
18 define PACKNLACTION
19 ${PACKNL} -w $@ $< $(addprefix -A ,$(wordlist 2,1000,$^))
20 endef
21
22 test0: lsp-dbus-test.lsp
23 test0: lsp-misc/lsp-misc.a lsp-dbus/lsp-dbus.a
24         ${PACKNLACTION}
25
26 test1: lsp-alsa-test.lsp
27 test1: lsp-alsa/pcm-dispatch.a lsp-alsa/libasound.a lsp-alsa/lib-utils.a
28         ${PACKNLACTION}
29
30 clean: .clean
31         rm -f test0 test1