2014-05-20 12:37:03 +02:00
|
|
|
all : ponytracker clean
|
|
|
|
|
|
|
|
ponytracker : maintest.o lecture.o motifs.o melodie.o
|
2014-05-21 18:08:47 +02:00
|
|
|
gcc -std=c99 -L'../fmod/lib' -lfmodex64 -Wall maintest.o lecture.o motifs.o melodie.o -o ponytracker `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
2014-05-20 12:37:03 +02:00
|
|
|
|
|
|
|
maintest.o : maintest.c
|
|
|
|
gcc -std=c99 -Wall -c maintest.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
|
|
|
|
2014-05-21 18:08:47 +02:00
|
|
|
motifs.o : ../motifs/motifs.c ../motifs/motifs.h
|
|
|
|
gcc -std=c99 -Wall -c ../motifs/motifs.c
|
2014-05-20 12:37:03 +02:00
|
|
|
|
2014-05-21 18:08:47 +02:00
|
|
|
melodie.o : ../melodie/melodie.c ../melodie/melodie.h
|
|
|
|
gcc -std=c99 -Wall -c ../melodie/melodie.c
|
2014-05-20 12:37:03 +02:00
|
|
|
|
2014-05-21 18:08:47 +02:00
|
|
|
lecture.o : ../lecture/lecture.c ../lecture/lecture.h
|
|
|
|
gcc -std=c99 -Wall -c ../lecture/lecture.c
|
2014-05-20 12:37:03 +02:00
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f *.o
|