You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- # wrapper around ./emul/zasm/zasm that prepares includes CFS prior to call
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
- ZASMBIN="${DIR}/emul/zasm/zasm"
- CFSPACK="${DIR}/cfspack/cfspack"
- INCCFS=$(mktemp)
-
- for p in "$@"; do
- "${CFSPACK}" "${p}" "*.+(asm|h)" >> "${INCCFS}"
- done
-
- "${ZASMBIN}" "${INCCFS}"
- RES=$?
- rm "${INCCFS}"
- exit $RES
|