26 lines
855 B
Makefile
26 lines
855 B
Makefile
all : ponytracker clean
|
|
|
|
ponytracker : main.o lecture.o motifs.o melodie.o samples.o instruments.o
|
|
gcc -std=c99 -L'fmod/lib' -lfmodex -Wall main.o lecture.o motifs.o melodie.o instruments.o samples.o -o ponytracker `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
|
|
|
main.o : main.c
|
|
gcc -std=c99 -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 -Wall -c motifs/motifs.c
|
|
|
|
melodie.o : melodie/melodie.c melodie/melodie.h
|
|
gcc -std=c99 -Wall -c melodie/melodie.c
|
|
|
|
lecture.o : lecture/lecture.c lecture/lecture.h
|
|
gcc -std=c99 -Wall -c lecture/lecture.c
|
|
|
|
samples.o : samples/samples.c samples/samples.h
|
|
gcc -std=c99 -Wall -c samples/samples.c
|
|
|
|
instruments.o : instruments/instruments.c instruments/instruments.h
|
|
gcc -std=c99 -Wall -c instruments/instruments.c
|
|
|
|
clean :
|
|
rm -f *.o
|