24 lines
896 B
Makefile
24 lines
896 B
Makefile
#----- Include the PSDK's WIN32.MAK to pick up defines-------------------
|
|
!include <win32.mak>
|
|
|
|
|
|
|
|
all: $(OUTDIR) $(OUTDIR)\Search.exe
|
|
|
|
$(OUTDIR)\Search.exe: $(OUTDIR) $(OUTDIR)\StdAfx.obj $(OUTDIR)\Search.obj
|
|
$(link) $(ldebug) /OUT:$(OUTDIR)\Search.exe $(conlflags) /PDB:$(OUTDIR)\Search.pdb /MACHINE:$(CPU) $(OUTDIR)\StdAfx.obj $(OUTDIR)\Search.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)\Search.obj: Search.cpp
|
|
$(cc) $(cflags) $(cdebug) $(cvars) /GX /Yu"stdafx.h" /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" /D"_CONSOLE" /D"_MBCS" Search.cpp
|
|
|
|
|
|
#----- If OUTDIR does not exist, then create directory
|
|
$(OUTDIR) :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir $(OUTDIR)
|
|
|
|
clean:
|
|
$(CLEANUP)
|