clangfrom your distro's package repositories.
sudo apt-get install gcc-arm-none-eabi clang # Debian sudo pacman -Sy gcc-arm-none-eabi clang #Arch
PLAYDATE_SDK in your environment to the location of the PlaydateSDK directory, then run the
export PLAYDATE_SDK=/home/me/Documents/playdate/PlaydateSDK-1.3.1 make
PLAYDATE_SDK must be an absolute path, otherwise you may get hard-to-diagnose errors from the SDK's build system.
sim target (for this project only) launches the Playdate simulator with the compiled output.