#!/bin/sh

# build executable
tcc example_app.c -lGL -lglfw -o MyApp.AppDir/usr/bin/myapp

# build icon
# ICON=MyApp.AppDir/myapp.png
# [ ! -f $ICON ] && convert /usr/share/icons/breeze/apps/48/smartgit.svg -transparent white $ICON
cp /usr/share/icons/breeze/apps/48/smartgit.svg MyApp.AppDir/myapp.svg
