# A very simple make file for a windows 32 bit assembly console program # it assembles and links # nmake help is online at: # http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_macros_and_nmake.asp # Assemble the code into coff format producing map and listing files, # including symbolic debugging info. Try "ml /?" for more options # and descriptions # 32 bit link our .obj file with the kernel32.lib file and create an exe file all: helloworld.exe helloworld.exe: helloworld.asm ml /nologo /coff /c /Zi /Fl /Fm $? link32 /nologo /DEBUG /incremental:no /subsystem:console /entry:main /out:debug\helloworld.exe helloworld.obj kernel32.lib