include ..\NMakefile.config

OBJS =	$(OBJDIR)\cdevError.obj \
        $(OBJDIR)\cdevSync.obj \
        $(OBJDIR)\cdevSystemBase.obj \
        $(OBJDIR)\cdevService.obj \
        $(OBJDIR)\cdevSystem.obj \
        $(OBJDIR)\cdevErrSvc.obj \
        $(OBJDIR)\cdevUserFdService.obj \
        $(OBJDIR)\cdevConfigFinder.obj

targets : copyincs copyobjs

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

