.SUFFIXES: .cc .obj

APPNAME     = Monitor Table Source
ARCH        = WINNT-4.0
TEMPLINKS   = cdevMessage.cc\
	      cdevMessageBinary.cc\
	      cdevPacket.cc\
	      cdevTagMap.cc
	      
BINARIES    = $(BASEBIN)\cdevMonitorTableTest.exe $(TEMPLINKS)

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

CXXEXTRA    = /D "GENERIC_SERVER_API= "
CXXINCLUDES = /I .\ /I ..\cdevPacket /I ..\cdevTagMap
TARGETS     = $(BASEBIN)\cdevMonitorTableTest.exe
OBJS        = .exec\$(TARGETDIR)\cdevMonitorTable.obj\
              .exec\$(TARGETDIR)\cdevMessage.obj\
              .exec\$(TARGETDIR)\cdevMessageBinary.obj\
              .exec\$(TARGETDIR)\cdevPacket.obj\
              .exec\$(TARGETDIR)\cdevTagMap.obj\
              .exec\$(TARGETDIR)\test.obj

targets : $(TEMPLINKS) $(BASEBIN)\cdevMonitorTableTest.exe
	@erase $(TEMPLINKS)
	
$(BASEBIN)\cdevMonitorTableTest.exe : $(OBJS)
	-@if exist $@ erase $@
	@echo ^ ^ ^ ^ ^ ^ =^> Linking $(@F)
	$(LINK) $(CDEVLIB)\cdev.lib\
	$(LINK_EXE_FLAGS) /out:$@ $? 
	@echo ^ ^ ^ ^ ^ ^ ^ ^ ^ Done...

cdevMessage.cc : ..\cdevPacket\cdevMessage.cc
	-@$(CREATE_LINK)

cdevMessageBinary.cc : ..\cdevPacket\cdevMessageBinary.cc
	-@$(CREATE_LINK)
	
cdevPacket.cc : ..\cdevPacket\cdevPacket.cc
	-@$(CREATE_LINK)

cdevTagMap.cc : ..\cdevTagMap\cdevTagMap.cc
	-@$(CREATE_LINK)
