Maintenant la fonction lecture ne fait plus planter le programme. Mais ça marche toujours pas.

This commit is contained in:
Raspbeguy
2014-04-10 14:33:33 +02:00
parent 2648c84155
commit 64e93ae67b
7 changed files with 79 additions and 647 deletions

19
sources/tests/makefile Normal file
View File

@@ -0,0 +1,19 @@
all : test clean
test : test.o lecture.o melodie.o motifs.o
gcc -std=c99 -L/opt/local/lib test.o lecture.o melodie.o motifs.o -o test -lSDL2 -lSDL2_mixer
test.o : test.c
gcc -std=c99 -I/opt/local/include -Wall -c test.c
lecture.o : ../lecture/lecture.c ../lecture/lecture.h
gcc -std=c99 -I/opt/local/include -Wall -c ../lecture/lecture.c
melodie.o : ../melodie/melodie.c ../melodie/melodie.h
gcc -std=c99 -Wall -c ../melodie/melodie.c
motifs.o : ../motifs/motifs.c ../motifs/motifs.h
gcc -std=c99 -Wall -c ../motifs/motifs.c
clean :
rm -f *.o