mikepaul-LuaJIT/dynasm/Examples/run.sh

14 lines
189 B
Bash
Raw Normal View History

#!/bin/bash
# set -x
# run test
lua ../dynasm.lua test_z_inst.c | gcc -std=gnu99 -Wall -Werror -g -x c -o test_z_inst -
./test_z_inst
ec=$?
# cleanup
rm -f ./test_z_inst
# exit
exit $ec