# usage is nmake PRG=prgname
all: ..\$(PRG).exe

..\$(PRG).exe: $(PRG).c
     cl $(PRG).c
     move $(PRG).exe ..\\
     del $(PRG).obj

