From 2648c84155f8d54693fff26103490d90b600f2b1 Mon Sep 17 00:00:00 2001 From: Raspbeguy Date: Thu, 10 Apr 2014 01:37:40 +0200 Subject: [PATCH] =?UTF-8?q?inclusion=20du=20header=20SDL=5Fmain=20plut?= =?UTF-8?q?=C3=B4t=20que=20directement=20la=20librairie=20(pour=20que=20?= =?UTF-8?q?=C3=A7a=20compile=20sur=20Fedora)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/Makefile | 2 +- sources/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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