empc/build.sh

16 lines
651 B
Bash
Executable File

if [[ empdd.c -nt empdd ]] ; then
gcc -o empdd empdd.c $(pkg-config --cflags --libs ecore ecore-con eldbus eina libmpdclient) -Wall -Wextra -g -O0
fi
if [[ ! -f eldbus_empd_empc.h || empd.azy -nt eldbus_empd_empc.h ]] ; then
eldbus-codegen empd.xml
fi
if [[ ! -f Empd_Common.h || empd.azy -nt Empd_Common.h ]] ; then
azy_parser -H empd.azy
fi
LIBS="ecore elementary evas eldbus azy esskyuehl efreet"
gcc -o empc empc.c empc_glyr_gmpc.c eldbus_empd_empc.c Empd_Common.c Empd_Common_Azy.c \
$(pkg-config --cflags --libs $LIBS) -Wall -Wextra -Wshadow -Wpointer-arith -g -O0
if [[ ! -f empc.edj || empc.edc -nt empc.edj ]] ; then
edje_cc empc.edc
fi