build_def.bat 355 B

123456789101112131415161718192021
  1. if %1x==x goto ERR_PARAM
  2. if %2x==x goto ERR_PARAM
  3. if %3x==x goto CALLSELF
  4. echo adding %3 to %1...
  5. echo ;------------------------------------------------------------>>%1
  6. echo ;%3>>%1
  7. pubobj %3>>%1 2>NUL
  8. goto END
  9. :CALLSELF
  10. echo EXPORTS>%1
  11. for %%i in (%2\*.obj) do call %0 %1 %2 %%i
  12. goto END
  13. :ERR_PARAM
  14. echo [Deffile] and/or [Objdir] missing
  15. exit 1
  16. :END