.SUFFIXES: .cc .obj

APPNAME     = CDEV Packet/Message Test Program
ARCH        = WINNT-4.0
BASEBIN     = .
BINARIES    = $(BASEBIN)\cdevPacketTest.exe $(BASEBIN)\sparsePacketTest.exe

include ..\include\makeinclude\Makefile.WINNT-4.0

CXXINCLUDES = /I .\\
CXXEXTRA    = /D "GENERIC_SERVER_API= "
TARGETS = $(BASEBIN)\cdevPacketTest.exe $(BASEBIN)\sparsePacketTest.exe

targets : $(TARGETS)
	
$(BASEBIN)\cdevPacketTest.exe : .exec\$(TARGETDIR)\test.obj .exec\$(TARGETDIR)\cdevPacket.obj .exec\$(TARGETDIR)\cdevMessageBinary.obj .exec\$(TARGETDIR)\cdevMessage.obj 
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib\
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...
	
$(BASEBIN)\sparsePacketTest.exe :  .exec\$(TARGETDIR)\sparsePacketTest.obj .exec\$(TARGETDIR)\cdevPacket.obj .exec\$(TARGETDIR)\cdevMessageBinary.obj .exec\$(TARGETDIR)\cdevMessage.obj  
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib\
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...
