1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00
sndio/aucat/Makefile.in

59 lines
1.3 KiB
Makefile
Raw Normal View History

2010-08-19 16:00:06 -05:00
# extra includes paths (-I options)
INCLUDE = -I../libsndio -I../bsd-compat
# extra libraries paths (-L options)
LIB = -L../libsndio
# extra defines (-D options)
2012-10-27 07:55:18 -05:00
DEFS = -DDEBUG -DSNDIO_USER=\"@user@\" -DADATA_BITS=@precision@ @defs@
2010-08-19 16:00:06 -05:00
# extra libraries (-l options)
LDADD = -lsndio @ldadd@
# variables defined on configure script command line (if any)
@vars@
#
# binaries, documentation, man pages and examples will be installed in
# ${BIN_DIR}, ${MAN1_DIR}
#
BIN_DIR = @bindir@
MAN1_DIR = @mandir@/man1
#
# programs to build
#
2012-11-12 02:31:49 -06:00
PROG = aucat
MAN1 = aucat.1
2010-08-19 16:00:06 -05:00
all: ${PROG} ${MAN1}
2010-08-19 16:00:06 -05:00
install:
mkdir -p ${DESTDIR}${BIN_DIR} ${DESTDIR}${MAN1_DIR}
cp aucat ${DESTDIR}${BIN_DIR}
cp aucat.1 ${DESTDIR}${MAN1_DIR}
2010-08-19 16:00:06 -05:00
uninstall:
cd ${DESTDIR}${BIN_DIR} && rm -f ${PROG}
cd ${DESTDIR}${MAN1_DIR} && rm -f ${MAN1}
clean:
2012-11-12 02:31:49 -06:00
rm -f -- *.o aucat
2010-08-19 16:00:06 -05:00
# ---------------------------------------------------------- dependencies ---
OBJS = abuf.o aucat.o dsp.o utils.o wav.o
2010-08-19 16:00:06 -05:00
aucat: ${OBJS}
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
.c.o:
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<
abuf.o: abuf.c abuf.h utils.h
aucat.o: aucat.c abuf.h dsp.h defs.h sysex.h utils.h wav.h \
2013-11-12 00:51:02 -06:00
../bsd-compat/bsd-compat.h
dsp.o: dsp.c dsp.h defs.h utils.h
utils.o: utils.c utils.h
wav.o: wav.c utils.h wav.h dsp.h defs.h