playing a WAV file

This commit is contained in:
2019-10-23 18:46:27 +02:00
parent 2e538157c5
commit 1bd06fb67b
7 changed files with 141 additions and 26 deletions

View File

@@ -6,6 +6,11 @@ LIBS = -lao -lsndfile -lm
ao_output.o: ao_output.c Makefile
$(CC) ${CCOPT} -c $<
t: t.c ao_output.o Makefile
$(CC) ${CCOPT} $< ao_output.o ${LIBS} -o $@
playfile.o: playfile.c Makefile
$(CC) ${CCOPT} -c $<
OBJS = ao_output.o playfile.o
t: t.c ${OBJS} Makefile
$(CC) ${CCOPT} $< ${OBJS} ${LIBS} -o $@