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