2014-04-09 19:32:30 +02:00
|
|
|
all : ponytracker clean
|
2014-04-08 18:30:56 +02:00
|
|
|
|
2014-04-09 19:32:30 +02:00
|
|
|
ponytracker : main.o lecture.o motifs.o melodie.o
|
2014-04-10 01:37:40 +02:00
|
|
|
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
|
2014-04-09 14:55:03 +02:00
|
|
|
# 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`
|
2014-04-09 15:54:02 +02:00
|
|
|
|
2014-04-09 19:32:30 +02:00
|
|
|
main.o : main.c
|
2014-04-09 14:55:03 +02:00
|
|
|
gcc -std=c99 -I/opt/local/include -Wall -c main.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
2014-04-06 17:21:27 +02:00
|
|
|
|
2014-04-09 19:32:30 +02:00
|
|
|
motifs.o : motifs/motifs.c motifs/motifs.h
|
2014-04-09 14:55:03 +02:00
|
|
|
gcc -std=c99 -I/opt/local/include -Wall -c motifs/motifs.c
|
2014-04-06 17:21:27 +02:00
|
|
|
|
2014-04-09 19:32:30 +02:00
|
|
|
melodie.o : melodie/melodie.c melodie/melodie.h
|
2014-04-09 14:55:03 +02:00
|
|
|
gcc -std=c99 -I/opt/local/include -Wall -c melodie/melodie.c
|
2014-04-06 17:21:27 +02:00
|
|
|
|
2014-04-09 19:32:30 +02:00
|
|
|
lecture.o : lecture/lecture.c lecture/lecture.h
|
2014-04-09 14:55:03 +02:00
|
|
|
gcc -std=c99 -I/opt/local/include -Wall -c lecture/lecture.c
|
2014-04-08 18:30:56 +02:00
|
|
|
|
2014-04-06 17:21:27 +02:00
|
|
|
clean :
|
|
|
|
rm -f *.o
|