PROJECT   = CLIENT
OBJ_CORE  = CLIENT.obj
RESOURCES = CLIENT.RES
LIBPATH	  = F:\masm611\Lib

ALL: $(PROJECT).exe

# Definition of assembler and linker options ****************************
!IFDEF debug
AssemblerOptions = /c /Cp /coff /Zi /Fo
LinkerOptions = /DEBUGTYPE:CV /DEBUG /PDB:NONE
!ELSE
AssemblerOptions = /c /Cp /coff /Fo
LinkerOptions =
!ENDIF

# Inference rule for updating object files ******************************
.asm.obj:
	ML $(AssemblerOptions)$*.obj $<

# Build rule for executable *********************************************
$(PROJECT).exe:	$(OBJ_CORE)
 	LINK $(LinkerOptions) @<<LinkFile
/MACHINE:i386
/SUBSYSTEM:CONSOLE
/ENTRY:start
/OUT:$(PROJECT).exe
/EXETYPE:DYNAMIC
/STACK:69000
/HEAP:69000
/FIXED:NO
/PROFILE
$(OBJ_CORE)
$(RESOURCES)
USER32.LIB
KERNEL32.LIB
<<NOKEEP

# Delete intermediate files *********************************************
Clean:
	del $(OBJ_CORE)
