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
2010-08-19 16:00:06 -05:00
# ${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 ---
2015-01-05 11:01:29 -06:00
OBJS = abuf.o afile.o aucat.o dsp.o utils.o
2010-08-19 16:00:06 -05:00
aucat: ${OBJS}
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
2010-08-19 16:00:06 -05:00
.c.o:
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<
abuf.o: abuf.c abuf.h utils.h
2015-01-05 11:01:29 -06:00
afile.o: afile.c afile.h dsp.h defs.h utils.h
aucat.o: aucat.c abuf.h afile.h dsp.h defs.h sysex.h utils.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