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=/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 gcc -std=c99 -I/opt/local/include -Wall -c main.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0` motifs.o : motifs/motifs.c motifs/motifs.h gcc -std=c99 -I/opt/local/include -Wall -c motifs/motifs.c melodie.o : melodie/melodie.c melodie/melodie.h gcc -std=c99 -I/opt/local/include -Wall -c melodie/melodie.c lecture.o : lecture/lecture.c lecture/lecture.h gcc -std=c99 -I/opt/local/include -Wall -c lecture/lecture.c clean : rm -f *.o