summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-18 10:21:04 -0500
committermidipix <writeonce@midipix.org>2016-12-18 10:21:04 -0500
commit1ba832e4b750a8ddd668508630f21b74eb646c07 (patch)
tree868798ba634b84a9a5afad6c0d59c2ef1022dd53
parenta4d31b350a5a6425162ce4f60869807028738bab (diff)
downloadpemagine-1ba832e4b750a8ddd668508630f21b74eb646c07.tar.bz2
pemagine-1ba832e4b750a8ddd668508630f21b74eb646c07.tar.xz
project: removed the generated clbuild.bat, should be provided externally.
-rw-r--r--.gitignore1
-rw-r--r--project/clbuild.bat202
2 files changed, 1 insertions, 202 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a221360
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+project/clbuild.bat
diff --git a/project/clbuild.bat b/project/clbuild.bat
deleted file mode 100644
index 6a809d1..0000000
--- a/project/clbuild.bat
+++ /dev/null
@@ -1,202 +0,0 @@
-@echo on
-@dir . > nul
-
-
-REM override variables either here or from the shell
-set source_dir=%source_dir%
-set sysroot=%sysroot%
-
-
-if not exist bin mkdir bin
-if not exist lib mkdir lib
-if not exist src mkdir src
-if not exist src\exports mkdir src\exports
-if not exist src\headers mkdir src\headers
-if not exist src\imports mkdir src\imports
-if not exist src\internal mkdir src\internal
-if not exist src\meta mkdir src\meta
-if not exist src\modules mkdir src\modules
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_enum_image_exports.lo %source_dir%/src/exports/pe_enum_image_exports.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_get_export_symbol_info.lo %source_dir%/src/exports/pe_get_export_symbol_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_get_procedure_address.lo %source_dir%/src/exports/pe_get_procedure_address.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_coff_hdr_addr.lo %source_dir%/src/headers/pe_get_image_coff_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_data_dirs_addr.lo %source_dir%/src/headers/pe_get_image_data_dirs_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_dos_hdr_addr.lo %source_dir%/src/headers/pe_get_image_dos_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_entry_point_addr.lo %source_dir%/src/headers/pe_get_image_entry_point_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_opt_hdr_addr.lo %source_dir%/src/headers/pe_get_image_opt_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_section_tbl_addr.lo %source_dir%/src/headers/pe_get_image_section_tbl_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_special_hdr_addr.lo %source_dir%/src/headers/pe_get_image_special_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/imports/pe_enum_image_import_hdrs.lo %source_dir%/src/imports/pe_enum_image_import_hdrs.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_image_stack_heap_info.lo %source_dir%/src/meta/pe_get_image_stack_heap_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_symbol_module_info.lo %source_dir%/src/meta/pe_get_symbol_module_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_symbol_name.lo %source_dir%/src/meta/pe_get_symbol_name.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_enum_modules.lo %source_dir%/src/modules/pe_enum_modules.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_kernel32_module_handle.lo %source_dir%/src/modules/pe_get_kernel32_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_module_handle.lo %source_dir%/src/modules/pe_get_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_ntdll_module_handle.lo %source_dir%/src/modules/pe_get_ntdll_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/internal/pe_entry_point.lo %source_dir%/src/internal/pe_entry_point.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_EXPORT -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_enum_image_exports.o %source_dir%/src/exports/pe_enum_image_exports.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_get_export_symbol_info.o %source_dir%/src/exports/pe_get_export_symbol_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/exports/pe_get_procedure_address.o %source_dir%/src/exports/pe_get_procedure_address.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_coff_hdr_addr.o %source_dir%/src/headers/pe_get_image_coff_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_data_dirs_addr.o %source_dir%/src/headers/pe_get_image_data_dirs_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_dos_hdr_addr.o %source_dir%/src/headers/pe_get_image_dos_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_entry_point_addr.o %source_dir%/src/headers/pe_get_image_entry_point_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_opt_hdr_addr.o %source_dir%/src/headers/pe_get_image_opt_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_section_tbl_addr.o %source_dir%/src/headers/pe_get_image_section_tbl_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/headers/pe_get_image_special_hdr_addr.o %source_dir%/src/headers/pe_get_image_special_hdr_addr.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/imports/pe_enum_image_import_hdrs.o %source_dir%/src/imports/pe_enum_image_import_hdrs.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_image_stack_heap_info.o %source_dir%/src/meta/pe_get_image_stack_heap_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_symbol_module_info.o %source_dir%/src/meta/pe_get_symbol_module_info.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/meta/pe_get_symbol_name.o %source_dir%/src/meta/pe_get_symbol_name.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_enum_modules.o %source_dir%/src/modules/pe_enum_modules.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_kernel32_module_handle.o %source_dir%/src/modules/pe_get_kernel32_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_module_handle.o %source_dir%/src/modules/pe_get_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/modules/pe_get_ntdll_module_handle.o %source_dir%/src/modules/pe_get_ntdll_module_handle.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-cl /nologo -c /Fo:src/internal/pe_entry_point.o %source_dir%/src/internal/pe_entry_point.c /Zi /Od -D_MIDIPIX_FREESTANDING -D__NT64 -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__ /X /GS- -I%source_dir%/src/internal -I%source_dir%/include -Ibuild -DPE_TAG_VER_MAJOR=0 -DPE_TAG_VER_MINOR=0 -DPE_TAG_VER_PATCH=0 /Wall /WX /Wall -DPE_STATIC -I%sysroot%/include
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-
-@echo.
-@echo clbuild: successfully built: shared-objs static-objs app-objs.
-@echo.
-
-lib /out:lib/libpemagine.a src/exports/pe_enum_image_exports.o src/exports/pe_get_export_symbol_info.o src/exports/pe_get_procedure_address.o src/headers/pe_get_image_coff_hdr_addr.o src/headers/pe_get_image_data_dirs_addr.o src/headers/pe_get_image_dos_hdr_addr.o src/headers/pe_get_image_entry_point_addr.o src/headers/pe_get_image_opt_hdr_addr.o src/headers/pe_get_image_section_tbl_addr.o src/headers/pe_get_image_special_hdr_addr.o src/imports/pe_enum_image_import_hdrs.o src/meta/pe_get_image_stack_heap_info.o src/meta/pe_get_symbol_module_info.o src/meta/pe_get_symbol_name.o src/modules/pe_enum_modules.o src/modules/pe_get_kernel32_module_handle.o src/modules/pe_get_module_handle.o src/modules/pe_get_ntdll_module_handle.o src/internal/pe_entry_point.o /nologo
-
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-
-@echo.
-@echo clbuild: successfully created: static archive.
-@echo.
-
-link /dll /nologo /out:lib/libpemagine.so src/exports/pe_enum_image_exports.lo src/exports/pe_get_export_symbol_info.lo src/exports/pe_get_procedure_address.lo src/headers/pe_get_image_coff_hdr_addr.lo src/headers/pe_get_image_data_dirs_addr.lo src/headers/pe_get_image_dos_hdr_addr.lo src/headers/pe_get_image_entry_point_addr.lo src/headers/pe_get_image_opt_hdr_addr.lo src/headers/pe_get_image_section_tbl_addr.lo src/headers/pe_get_image_special_hdr_addr.lo src/imports/pe_enum_image_import_hdrs.lo src/meta/pe_get_image_stack_heap_info.lo src/meta/pe_get_symbol_module_info.lo src/meta/pe_get_symbol_name.lo src/modules/pe_enum_modules.lo src/modules/pe_get_kernel32_module_handle.lo src/modules/pe_get_module_handle.lo src/modules/pe_get_ntdll_module_handle.lo src/internal/pe_entry_point.lo /libpath:lib /subsystem:windows /nodefaultlib /entry:pe_entry_point
-
-@if %errorlevel% neq 0 exit /b %errorlevel%
-
-
-@echo.
-@echo clbuild: successfully linked: shared library.
-@echo.
-
-
-@echo.
-@echo yay.
-@echo.
-