summaryrefslogtreecommitdiff
path: root/build.sh
blob: 1091e89a3bed87e6584a7d8870e7bd4f35c0883d (plain)
1
2
3
4
5
6
7
CFLAGS="-O0 -g -pipe -Wall -Wextra -Wshadow -Wno-unused-parameter -Wuninitialized -Wmaybe-uninitialized $(pkg-config --cflags --libs elementary ecore-wl2 ecore-x wayland-server xkbcommon) -ldl $CFLAGS"

FILES="comp.c dmabuf.c xdg-shell-unstable-v6-protocol.c linux-dmabuf-unstable-v1-protocol.c"

for file in tests/*.c ; do
	gcc -o $(basename $file .c) $FILES $file -I. $CFLAGS || break
done