integration du sound-system

This commit is contained in:
phyto 2019-05-28 14:10:39 +02:00
parent 9c74ad9449
commit 9b58ca8ef0
2 changed files with 7 additions and 4 deletions

View File

@ -7,7 +7,7 @@
CC = gcc CC = gcc
CCOPT = -Wall -g CCOPT = -Wall -g
CLIB = core/libdd2m-core.a viz/libdd2m-viz.a CLIB = core/libdd2m-core.a viz/libdd2m-viz.a audio/player.o
all: essai all: essai
@ -19,10 +19,11 @@ essai.o: essai.c Makefile
$(CC) ${CCOPT} $< -c $(CC) ${CCOPT} $< -c
essai: essai.o Makefile $(CLIB) ${OSERIAL} essai: essai.o Makefile $(CLIB) ${OSERIAL}
$(CC) ${CCOPT} $< ${OSERIAL} $(CLIB) -lncurses -o $@ $(CC) ${CCOPT} $< ${OSERIAL} $(CLIB) \
-lncurses -lao -lsndfile -o $@
fake-values: fake-values.c Makefile $(CLIB) fake-values: fake-values.c Makefile $(CLIB)
$(CC) ${CCOPT} $< $(CLIB) -o $@ $(CC) ${CCOPT} $< $(CLIB) -o $@
# ------------------------------------------------------- # -------------------------------------------------------

View File

@ -14,7 +14,9 @@ int verbosity;
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
void help(int v) void help(int v)
{ {
puts("Options :");
puts("\t-w filename.wav");
exit(0);
} }
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */