3 rem Simple Header install script for libfirm and friens, uses NT command shell
6 rem (C) 2005 Universitaet Karlsruhe
8 rem Michael Beck beck@ipd.info.uni-karlsruhe.de
15 if "%1" == "" goto usage
16 if "%2" == "" goto usage
18 echo Installing Header files to %DST% ...
20 if not exist %DST% mkdir %DST%
21 for /F "eol=# tokens=1,2" %%i in (header.list) do if not exist "%DST%\%%j" mkdir %DST%\%%j
22 for /F "eol=# tokens=1,2" %%i in (header.list) do echo %%i && copy /Y %SRC%\%%i %DST%\%%j >NUL
28 echo Usage: %0 SRC-DIR DST-DIR