diff --git a/sources/Makefile b/sources/Makefile index 8a7df02..09316ef 100644 --- a/sources/Makefile +++ b/sources/Makefile @@ -1,7 +1,7 @@ all : ponytracker clean ponytracker : main.o lecture.o motifs.o melodie.o - gcc -std=c99 -L/opt/local/lib -Wall main.o lecture.o motifs.o melodie.o -o ponytracker `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0` -lSDL2 -lSDL2main -lSDL2_mixer + gcc -std=c99 -L/opt/local/lib -Wall main.o lecture.o motifs.o melodie.o -o ponytracker `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0` -lSDL2 -lSDL2_mixer # gcc -std=c99 -L=/home/ebrunet/temp/SDL-2.0.3-8621/installation/lib -lsdl2 -lsdl_mixer -lsdlmain -Wall main.o lecture.o motifs.o melodie.o -o ponytracker `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0` main.o : main.c diff --git a/sources/main.c b/sources/main.c index 72a0f8a..521ebf5 100644 --- a/sources/main.c +++ b/sources/main.c @@ -7,6 +7,7 @@ #include "lecture/lecture.h" #include #include +#include #define DEF_NBR_TMP 16 #define MAX_PATTERNS 256