about summary refs log blame commit diff stats
path: root/subx/run
blob: 332d5786dcdd6d78f3ee7564908437017eb2218c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                         







                              
#!/usr/bin/env zsh
# Simulate a specific example using subx.

if [ $# -eq 0 ]
then
  echo "run <suffix>"
  exit 1
fi

if [[ $1 == 'test'* ]]
then
  CFLAGS=-g subx run teensy/$1
  exit $?
fi

CFLAGS=-g subx run $1
exit $?