Created
October 15, 2016 00:26
-
-
Save anonymous/5f81d1cd0b170367ef4fa78f20877dea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code_directory (run from code_directory) | |
# | | |
# |__Build | |
# | |
# Run as a powershell script | |
# (save as <something>.ps1) | |
pushd .\Build | |
nasm -f win64 ..\main.asm -o main.o | |
link .\main.o /Entry:main /OUT:main.exe /NODEFAULTLIB /MACHINE:X64 Kernel32.lib | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment