mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 02:45:42 +01:00
28 lines
498 B
Makefile
28 lines
498 B
Makefile
INCLUDES = -I$(top_srcdir)/include
|
|
LDADD = -lasound
|
|
|
|
# debug flags
|
|
#LDFLAGS = -static
|
|
#LDADD += -ldl
|
|
|
|
bin_PROGRAMS = aplay
|
|
man_MANS = aplay.1
|
|
noinst_HEADERS = formats.h
|
|
|
|
EXTRA_CLEAN = arecord
|
|
|
|
arecord: aplay
|
|
rm -f arecord
|
|
$(LN_S) $< $@
|
|
|
|
arecord.1: aplay.1
|
|
rm -f arecord.1
|
|
$(LN_S) $< $@
|
|
|
|
install-exec-hook:
|
|
rm -f $(bindir)/arecord
|
|
(cd $(DESTDIR)$(bindir) && $(LN_S) aplay arecord)
|
|
|
|
install-data-hook:
|
|
rm -f $(mandir)/man1/arecord.1
|
|
(cd $(DESTDIR)$(mandir)/man1 && $(LN_S) aplay.1 arecord.1)
|