mirror of https://github.com/ericonr/sndio.git
connect sndiod to the install target
This commit is contained in:
parent
d899b0d484
commit
7eb795bc19
|
@ -7,7 +7,7 @@ all:
|
|||
install:
|
||||
cd libsndio && ${MAKE} install
|
||||
cd aucat && ${MAKE} install
|
||||
# cd sndiod && ${MAKE} install
|
||||
cd sndiod && ${MAKE} install
|
||||
|
||||
uninstall:
|
||||
cd libsndio && ${MAKE} uninstall
|
||||
|
|
|
@ -23,8 +23,8 @@ MAN1_DIR = @mandir@/man1
|
|||
#
|
||||
# programs to build
|
||||
#
|
||||
PROG = aucat sndiod
|
||||
MAN1 = aucat.1 sndiod.1
|
||||
PROG = aucat
|
||||
MAN1 = aucat.1
|
||||
|
||||
all: ${PROG} ${MAN1}
|
||||
|
||||
|
@ -32,15 +32,13 @@ install:
|
|||
mkdir -p ${DESTDIR}${BIN_DIR} ${DESTDIR}${MAN1_DIR}
|
||||
cp aucat ${DESTDIR}${BIN_DIR}
|
||||
cp aucat.1 ${DESTDIR}${MAN1_DIR}
|
||||
ln -sf aucat ${DESTDIR}${BIN_DIR}/sndiod
|
||||
ln -sf aucat.1 ${DESTDIR}${MAN1_DIR}/sndiod.1
|
||||
|
||||
uninstall:
|
||||
cd ${DESTDIR}${BIN_DIR} && rm -f ${PROG}
|
||||
cd ${DESTDIR}${MAN1_DIR} && rm -f ${MAN1}
|
||||
|
||||
clean:
|
||||
rm -f -- *.o aucat sndiod sndiod.1
|
||||
rm -f -- *.o aucat
|
||||
|
||||
# ---------------------------------------------------------- dependencies ---
|
||||
|
||||
|
@ -52,12 +50,6 @@ wav.o
|
|||
aucat: ${OBJS}
|
||||
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
|
||||
|
||||
sndiod:
|
||||
ln -sf aucat sndiod
|
||||
|
||||
sndiod.1:
|
||||
ln -sf aucat.1 sndiod.1
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<
|
||||
|
||||
|
|
Loading…
Reference in New Issue