Blame build.sh

452870
#!/bin/bash
452870
452870
set -e
452870
dbe1a1
FLAGS="$(pkg-config --cflags --libs x11 xft 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
db2d04
echo cc main.c $FLAGS -o coolkbd
db2d04
     cc main.c $FLAGS -o coolkbd
452870
452870
echo done