integration du sound-system
This commit is contained in:
parent
9c74ad9449
commit
9b58ca8ef0
5
Makefile
5
Makefile
@ -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,7 +19,8 @@ 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 $@
|
||||||
|
@ -14,7 +14,9 @@ int verbosity;
|
|||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
void help(int v)
|
void help(int v)
|
||||||
{
|
{
|
||||||
|
puts("Options :");
|
||||||
|
puts("\t-w filename.wav");
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user