about summary refs log tree commit diff stats
path: root/subx/run
blob: cd484787943fbf3650e160a5da9ee6ea5c9b51d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env zsh
# Simulate a specific example using subx.

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

CFLAGS=-g subx run $1
exit $?