about summary refs log blame commit diff stats
path: root/subx/gen
blob: 464506b39ea8266cd4e6e9cabaced58db374ae14 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                           






                                                                              
       
#!/usr/bin/env zsh
# Build a specific example.

if [[ $1 == 'ex'* ]]
then
  CFLAGS=-g subx translate examples/$1.subx examples/`echo $1 |sed 's/\..*//'`
  exit $?
fi

CFLAGS=-g subx translate apps/$1.subx apps/`echo $1 |sed 's/\..*//'`
exit $?