@echo off rem -- Create lists of exported, imported, and include symbols for the simulator files. nm Debug\hp*.o --defined-only --extern-only | sed -r -e "s/^.+ [A-Z] / /" > exports.txt nm Debug\hp*.o --undefined-only | sed -r -e "s/^.+ [A-Z] / /" > imports.txt if exist includes.txt del includes.txt for /d %%d in (SCP\HP*) do find /n "#include" %%d\*.c %%d\*.h | sed -r -e "s/^--.+\\(.+)/\L\1:/" -e "s/^\[(.+)\]/ \1\t/" >> includes.txt