comfortable-swipe/comfortable-swipe.compile.sh
2019-03-15 10:35:09 +08:00

8 lines
209 B
Bash
Executable File

#!/bin/sh
dir="$(dirname $0)"
g++ "$dir/comfortable-swipe.cpp" \
-o "$1" \
-std=c++11 \
-O2 -lxdo -Wno-unused-result \
-DCOMFORTABLE_SWIPE_VERSION="\"$(cat $dir/VERSION | tr -d '[:space:]')\""