mpir/build.vc10/gen_config_h.bat

8 lines
215 B
Batchfile
Raw Normal View History

2012-11-25 17:13:44 -05:00
@echo off
echo /* generated by gen_config_h.bat */ >tmp.h
for /f %%a in (%1cfg.h) do (if "%%a" NEQ "" (echo #define HAVE_NATIVE_%%a 1 >>tmp.h))
type cfg.h >>tmp.h
call out_copy_rename tmp.h ..\ config.h
del tmp.h