26 lines
646 B
Batchfile
26 lines
646 B
Batchfile
|
|
echo === Trigger workaround
|
||
|
|
rem note1: Fixme make will not build without targets files
|
||
|
|
rem note2: Fixme make will not build without updated time stamps
|
||
|
|
copy /T build.bat NFBSSHOT.BIN
|
||
|
|
dir/w utils
|
||
|
|
copy /T build.bat NFBSSHOT.HEX
|
||
|
|
dir/w utils
|
||
|
|
copy /T build.bat NFBSSHOT.REL
|
||
|
|
dir/w utils
|
||
|
|
copy /T NFBSSHOT.MAC NFBSSHOT.BAK
|
||
|
|
dir/w utils
|
||
|
|
copy /T NFBSSHOT.BAK NFBSSHOT.MAC
|
||
|
|
dir/w utils
|
||
|
|
echo === Running make
|
||
|
|
make NFBSSHOT.MF /x > build2.bat
|
||
|
|
echo === Concat shutdown
|
||
|
|
echo "" > build3.bat
|
||
|
|
IFF "exit" == %1
|
||
|
|
echo "shutdown.bat" > build3.bat
|
||
|
|
ENDIFF
|
||
|
|
concat build2.bat + build3.bat build4.bat
|
||
|
|
echo === Final script
|
||
|
|
type build4.bat
|
||
|
|
echo === Running build
|
||
|
|
build4.bat
|