#!/bin/sh
project=${1:-one_step_closer}
entry_addr=${2:-e1}
infection=${3:-i1}
main=${4}

${TEVWH_PATH_CC} ${TEVWH_CFLAGS} -g \
	-I ./src/one_step_closer/${entry_addr} \
	-I ${TEVWH_OUT}/${project}/${infection} \
	-o ${TEVWH_TMP}/${project}/${entry_addr}${infection}/infector \
	${main} \
&& cd ${TEVWH_TMP}/${project}/${entry_addr}${infection} \
&& ./infector ${TEVWH_PATH_CSH} ${TEVWH_PATH_PERL} ${TEVWH_PATH_MT} ${TEVWH_PATH_SH}
