Petite correction mu makefile du dossier GUI

This commit is contained in:
Raspbeguy 2014-04-09 16:06:55 +02:00
parent 335b810292
commit 044c01d85d
3 changed files with 7 additions and 2 deletions

View File

@ -7,4 +7,4 @@ premierTest.o : premierTest.c
gcc -Wall -c premierTest.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0` gcc -Wall -c premierTest.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
clean : premierTest clean : premierTest
rm *~ *.o rm -f *.o

View File

@ -21,7 +21,7 @@ int main( int argc, char *argv[] ) {
return 0; return 0;
} }
void lecture () void lancerLecture ()
{ {
gtk_main_quit(); gtk_main_quit();
} }

View File

@ -1,3 +1,6 @@
#ifndef _LECTURE_H
#define _LECTURE_H
#include "lecture.h" #include "lecture.h"
void lireTick (Motif* m, int tmp, Mix_Chunk* chunk[], int nbrPortees) { // On va lire les ticks (plus petite division temporelle de la playlist) de haut en bas void lireTick (Motif* m, int tmp, Mix_Chunk* chunk[], int nbrPortees) { // On va lire les ticks (plus petite division temporelle de la playlist) de haut en bas
@ -29,3 +32,5 @@ void lecture (int nombreChaines, Motif* melodie[]) {
Mix_CloseAudio(); Mix_CloseAudio();
SDL_Quit(); SDL_Quit();
} }
#endif