Blame build.sh

452870
#!/bin/bash
452870
452870
set -e
452870
452870
FLAGS="$(pkg-config --cflags --libs xcb x11 xtst)"
452870
FLAGS="$FLAGS -Wall"
452870
if [ "$1" = "debug" ]; then
452870
  FLAGS="$FLAGS -g -O0"
452870
else
452870
  FLAGS="$FLAGS -O3 -DNDEBUG"
452870
fi
452870
452870
cc $FLAGS main.c -o coolkbd
452870
452870
echo done