2014-04-08 18:30:56 +02:00
|
|
|
all : ponytracker clean
|
|
|
|
|
|
|
|
ponytracker : main.o lecture.o motifs.o melodie.o
|
|
|
|
gcc -L/opt/local/lib -lsdl -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-06 17:21:27 +02:00
|
|
|
|
|
|
|
main.o : main.c
|
2014-04-08 18:30:56 +02:00
|
|
|
gcc -L/opt/local/lib -lsdl -lsdl_mixer -lsdlmain -Wall -c main.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
2014-04-06 17:21:27 +02:00
|
|
|
|
|
|
|
motifs.o : motifs/motifs.c motifs/motifs.h
|
|
|
|
gcc -Wall -c motifs/motifs.c
|
|
|
|
|
2014-04-06 20:08:43 +02:00
|
|
|
melodie.o : melodie/melodie.c melodie/melodie.h
|
2014-04-06 17:21:27 +02:00
|
|
|
gcc -Wall -c melodie/melodie.c
|
|
|
|
|
2014-04-08 18:30:56 +02:00
|
|
|
lecture.o : lecture/lecture.c lecture/lecture.h
|
|
|
|
gcc -L/opt/local/lib -lsdl -lsdl_mixer -lsdlmain -Wall -c lecture/lecture.c
|
|
|
|
|
2014-04-06 17:21:27 +02:00
|
|
|
clean :
|
|
|
|
rm -f *.o
|