Skip to content

Instantly share code, notes, and snippets.

@earlgreyxxx
Last active February 16, 2021 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save earlgreyxxx/92891fb3436b04d8471cc43c0cce7ed4 to your computer and use it in GitHub Desktop.
Save earlgreyxxx/92891fb3436b04d8471cc43c0cce7ed4 to your computer and use it in GitHub Desktop.
# MAKEFILE for nmake
#出力先はカレントディレクトリ禁止
OUTDIR=.\Output
#各ツールフラグ
FLAGS=/nologo
##設定ここまで##################################
CPP=csc.exe
TLB=tlbimp.exe
COMSRV=C:\WINDOWS\System32\Imapi2fs.dll
ALL : $(OUTDIR) mkiso.exe
CLEAN :
-@erase /Q $(OUTDIR)\*.*
-@rd $(OUTDIR)
$(OUTDIR) :
if not exist $(OUTDIR)\$(NULL) mkdir $(OUTDIR)\
mkiso.exe : IMAPI2FS.dll
$(CPP) $(FLAGS) /r:$(OUTDIR)\IMAPI2FS.dll /OUT:$(OUTDIR)\$@ mkiso.cs
IMAPI2FS.dll :
$(TLB) $(FLAGS) /out:$(OUTDIR)\IMAPI2FS.dll $(COMSRV)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment