# # MAKEFILE # Sample WBEM Method Provider # # Copyright (c)1998 Microsoft Corporation, All Rights Reserved # TARGET = methprov.dll goal: $(TARGET) OBJS = $(OBJDIR)\maindll.obj $(OBJDIR)\methprov.obj $(OBJDIR)\classfac.obj LIBS = msvcrt.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib \ advapi32.lib ole32.lib oleaut32.lib uuid.lib wbemuuid.lib # # Compiler and link flags # !ifndef NODEBUG OBJDIR=debug LINK = -debug:full /DLL -debugtype:cv /NOD CFLAGS = -c -Od -Z7 -Ze -W3 -G3s -nologo \ -DWIN32 -D_DLL -DWIN32ANSI -DSTRICT -DDEBUG !else OBJDIR=retail LINK = -debug:none /DLL /NOD CFLAGS = -c -Oat -Ze -W3 -G3s -nologo \ -DWIN32 -D_DLL -DWIN32ANSI -DSTRICT !endif #NODEBUG cc = cl $(CFLAGS) .cpp{$(OBJDIR)}.obj: if not exist $(OBJDIR) md $(OBJDIR) $(cc) $< -Fo$(OBJDIR)\$(