- if (!defined $appfilename) {
- $appfilename="build/${target}/app.c";
- }
- if (!defined $exefilename) {
- $exefilename="build/${target}/main.exe";
- }
-
- $appfilename =~ m/^((.*\/)?)[^\/]+$/;
- my $directory = $1;
-
- # Might be useful to keep this app.c somewhere...
- # This could probably be avoided by using the deputy script
- # instead of the executable directly...
- $cpp = "${mcu}-gcc -E -DSAFE_TINYOS $appfilename -o ${directory}deputy-in.c -I${safe_home}/include";
-
- # Not worrying about racing protection, for now...
- # --checksnescatomic racing.txt
- $deputyasmexe = "deputy-${mcu} --FLIDs --out ${directory}deputy-out.c ${directory}deputy-in.c";
-