include ..\NMakefile.config

OBJS =	$(OBJDIR)\cdevIOcontext.obj \
        $(OBJDIR)\cdevDevice.obj \
        $(OBJDIR)\cdevRequestObject.obj \
        $(OBJDIR)\cdevErrReqObject.obj

targets : copyobjs copyincs

copyobjs : $(OBJS)
	-@if not exist ..\lib\$(OBJDIR) mkdir ..\lib\$(OBJDIR)
	-@for %x in ($(OBJDIR)\*.obj) DO @copy %x ..\lib\$(OBJDIR) > nul

copyincs :
	-@for %x in (*.h *.i) DO @copy %x $(CDEV)\include > nul

