playing a WAV file
This commit is contained in:
@@ -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 $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user