ws 32-bit systems.
<h4>Code:</h4>
<pre>
##### Makefile #####
NAME=MYDEMO
AS=nasm
AFLAGS=-f win32
LD=GoLink
LDFLAGS		=/console /mix /entry _main
LIBS		=msvcrt.dll

# [ Suffixes ]
# Change the suffixes to match your system environment
O           = .obj
X           = .exe
ASM         = .asm
INC         = .inc
LST         = .lst

# rules
all: $(NAME)$(X)

$(NAME)$(X): $(NAME)$(O)
	$(LD) $(LDFLAGS) $(NAME)$(O) $(LIBS)

$(NAME)$(O): $(NAME)$(ASM)
	$(AS) $(AFLAGS) $(NAME)$(ASM) -o $(NAME