#----- Include the PSDK's WIN32.MAK to pick up defines------------------- !include all: $(OUTDIR) $(OUTDIR)\Write.exe $(OUTDIR)\Write.exe: $(OUTDIR) $(OUTDIR)\StdAfx.obj $(OUTDIR)\Write.obj $(link) $(ldebug) /OUT:$(OUTDIR)\Write.exe $(conlflags) /PDB:$(OUTDIR)\Write.pdb /MACHINE:$(CPU) $(OUTDIR)\StdAfx.obj $(OUTDIR)\Write.obj shell32.lib $(ole2libs) odbc32.lib odbccp32.lib activeds.lib adsiid.lib $(OUTDIR)\StdAfx.obj: StdAfx.cpp $(cc) $(cflags) $(cdebug) $(cvars) /GX /Yc"stdafx.h" /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" /D"_CONSOLE" /D"_MBCS" StdAfx.cpp $(OUTDIR)\Write.obj: Write.cpp $(cc) $(cflags) $(cdebug) $(cvars) /GX /Yu"stdafx.h" /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" /D"_CONSOLE" /D"_MBCS" Write.cpp #----- If OUTDIR does not exist, then create directory $(OUTDIR) : if not exist "$(OUTDIR)/$(NULL)" mkdir $(OUTDIR) clean: $(CLEANUP)