Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 789 Bytes
export DESTDIR ?=
export PREFIX ?= /usr/local
export CROSS_COMPILE =
export INCDIR ?= $(PREFIX)/include/tinyalsa
export LIBDIR ?= $(PREFIX)/lib
export BINDIR ?= $(PREFIX)/bin
export MANDIR ?= $(PREFIX)/share/man
.PHONY: all
all:
$(MAKE) -C src
$(MAKE) -C utils
$(MAKE) -C doxygen
$(MAKE) -C examples
.PHONY: clean
clean:
$(MAKE) -C src clean
$(MAKE) -C utils clean
$(MAKE) -C doxygen clean
$(MAKE) -C examples clean
.PHONY: install
install:
install -d $(DESTDIR)$(INCDIR)/
install include/tinyalsa/pcm.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/mixer.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/asoundlib.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/version.h $(DESTDIR)$(INCDIR)/
$(MAKE) -C src install
$(MAKE) -C utils install
$(MAKE) -C doxygen install