@REM %1:target_lib_path %2:obj_dir @IF EXIST %1 DEL %1 @PUSHD %2 LIB.EXE /OUT:%1 *.obj LIB.EXE %1 /REMOVE:main.obj @POPD