mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-05 23:01:57 +03:00
a3a6f17e0b
git-svn-id: svn://kolibrios.org@3415 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
411 B
Makefile
14 lines
411 B
Makefile
define msvc_compile
|
|
win32-cl /c /O2 /Os /Oy /GF /GS- /GR- /EHs-c- /fp:fast /GL /QIfist /Gr /DAUTOBUILD /Fo$@ Z:$< >&2
|
|
endef
|
|
define msvc_link
|
|
win32-link /section:.bss,E /fixed:no /subsystem:native \
|
|
/merge:.data=.text /merge:.rdata=.text /merge:.1seg=.text \
|
|
/entry:crtStartUp /out:$@ /ltcg /nodefaultlib \
|
|
$(addprefix Z:,$^) >&2
|
|
endef
|
|
define msvc_final
|
|
EXENAME=$< fasm doexe2.asm "$@"
|
|
kpack --nologo "$@"
|
|
endef
|