drummer/go.sh
Arnaud G. GIBERT 5113c24f6a - Add Multithread task support,
- Add task layer loading support,
- Add task kit loading support,
- Add task kits loading support.
2022-04-27 23:13:33 +02:00

32 lines
745 B
Bash
Executable File

#!/bin/bash
module_list="libnode.c datastruct.c"
main_list="drummer.c lv2_plugin.c"
for module in ${module_list} ${main_list}
do
cmd="gcc -g -c -I. -I/usr/include/libxml2 -o ${module//.c/.o} -fPIC ${module}"
echo ${cmd}
eval ${cmd}
done
cmd="gcc -g -o drummer ${module_list//.c/.o} drummer.o -fPIC -ldl -lpthread -lxml2 -lz -llzma -lm -lsndfile -lsamplerate"
echo ${cmd}
eval ${cmd}
cmd="gcc -g -o drummer.so ${module_list//.c/.o} lv2_plugin.o -shared -fPIC -ldl -lxml2 -lz -llzma -lm -lsndfile -lsamplerate"
echo ${cmd}
eval ${cmd}
cmd="./drummer-mkttl"
#echo ${cmd}
#eval ${cmd}
#gcc -g -I . -L . -shared -o drummer.so -fPIC drummer.c
#gcc -g -I. -I/usr/include/libxml2 -o xpath -fPIC -ldl -lxml2 -lz -llzma -lm xpath.c