inclusion du header SDL_main plutôt que directement la librairie (pour que ça compile sur Fedora)
This commit is contained in:
parent
7a2f989f76
commit
2648c84155
|
@ -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
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "lecture/lecture.h"
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL2/SDL_main.h>
|
||||
|
||||
#define DEF_NBR_TMP 16
|
||||
#define MAX_PATTERNS 256
|
||||
|
|
Loading…
Reference in New Issue