程式語言 - MASM32 - Makefile



TARGET=main

all:
	myx86 "c:\masm32\bin\ml.exe" /c /coff /nologo ${TARGET}.asm
	myx86 "c:\masm32\bin\link.exe" /SUBSYSTEM:WINDOWS /MERGE:.rdata=.text ${TARGET}.obj

run:
	myx86 ${TARGET}.exe

clean:
	rm -rf ${TARGET}.exe ${TARGET}.obj