antlrmsvc50.mak

来自「SRI international 发布的OAA框架软件」· MAK 代码 · 共 783 行 · 第 1/2 页

MAK
783
字号
   mkdir ..\bin
	copy ..\bin\antlr.exe antlr_old.exe
	copy antlr.exe   ..\bin\.
	echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"

!ENDIF 


!IF "$(CFG)" == "ANTLR - Win32 Release" || "$(CFG)" == "ANTLR - Win32 Debug"
SOURCE=.\antlr.c
DEP_CPP_ANTLR=\
	"..\h\antlr.h"\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\mode.h"\
	".\proto.h"\
	".\syn.h"\
	".\tokens.h"\
	

"$(INTDIR)\antlr.obj"	"$(INTDIR)\antlr.sbr" : $(SOURCE) $(DEP_CPP_ANTLR)\
 "$(INTDIR)" "$(INTDIR)\tokens.h" "$(INTDIR)\mode.h"


SOURCE=.\antlr.g

!IF  "$(CFG)" == "ANTLR - Win32 Release"

InputPath=.\antlr.g
InputName=antlr

"antlr.c"	"err.c"	"mode.h"	"scan.c"	"tokens.h"	"parser.dlg"	 : $(SOURCE)\
 "$(INTDIR)" "$(OUTDIR)"
	../bin/antlr -gh $(InputName).g 
	../bin/dlg -C2 parser.dlg scan.c 
	

!ELSEIF  "$(CFG)" == "ANTLR - Win32 Debug"

InputPath=.\antlr.g
InputName=antlr

"antlr.c"	"err.c"	"mode.h"	"scan.c"	"tokens.h"	"parser.dlg"	 : $(SOURCE)\
 "$(INTDIR)" "$(OUTDIR)"
	..\bin\antlr -gh $(InputName).g 
	..\bin\dlg -C2 parser.dlg scan.c 
	

!ENDIF 

SOURCE=.\bits.c
DEP_CPP_BITS_=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\bits.obj"	"$(INTDIR)\bits.sbr" : $(SOURCE) $(DEP_CPP_BITS_)\
 "$(INTDIR)"


SOURCE=.\build.c
DEP_CPP_BUILD=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\build.obj"	"$(INTDIR)\build.sbr" : $(SOURCE) $(DEP_CPP_BUILD)\
 "$(INTDIR)"


SOURCE=.\egman.c
DEP_CPP_EGMAN=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\egman.obj"	"$(INTDIR)\egman.sbr" : $(SOURCE) $(DEP_CPP_EGMAN)\
 "$(INTDIR)"


SOURCE=.\err.c
DEP_CPP_ERR_C=\
	"..\h\antlr.h"\
	"..\h\dlgdef.h"\
	"..\h\err.h"\
	"..\h\pccts_stdarg.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	".\tokens.h"\
	

!IF  "$(CFG)" == "ANTLR - Win32 Release"

CPP_SWITCHES=/nologo /ML /W3 /GX /O2 /I "." /I "..\h" /I "..\support\set" /D\
 "NDEBUG" /D "LONGFILENAMES" /D "PC" /D "USER_ZZSYN" /D ZZLEXBUFSIZE=65536 /D\
 "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\"\
 /Fd"$(INTDIR)\\" /FD /c 

"$(INTDIR)\err.obj"	"$(INTDIR)\err.sbr" : $(SOURCE) $(DEP_CPP_ERR_C)\
 "$(INTDIR)" "$(INTDIR)\tokens.h"
	$(CPP) @<<
  $(CPP_SWITCHES) $(SOURCE)
<<


!ELSEIF  "$(CFG)" == "ANTLR - Win32 Debug"

CPP_SWITCHES=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "." /I "..\h" /I\
 "..\support\set" /D "LONGFILENAMES" /D "PC" /D "USER_ZZSYN" /D\
 ZZLEXBUFSIZE=65536 /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS"\
 /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 

"$(INTDIR)\err.obj"	"$(INTDIR)\err.sbr" : $(SOURCE) $(DEP_CPP_ERR_C)\
 "$(INTDIR)" "$(INTDIR)\tokens.h"
	$(CPP) @<<
  $(CPP_SWITCHES) $(SOURCE)
<<


!ENDIF 

SOURCE=.\fcache.c
DEP_CPP_FCACH=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\fcache.obj"	"$(INTDIR)\fcache.sbr" : $(SOURCE) $(DEP_CPP_FCACH)\
 "$(INTDIR)"


SOURCE=.\fset.c
DEP_CPP_FSET_=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\fset.obj"	"$(INTDIR)\fset.sbr" : $(SOURCE) $(DEP_CPP_FSET_)\
 "$(INTDIR)"


SOURCE=.\fset2.c
DEP_CPP_FSET2=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\fset2.obj"	"$(INTDIR)\fset2.sbr" : $(SOURCE) $(DEP_CPP_FSET2)\
 "$(INTDIR)"


SOURCE=.\gen.c
DEP_CPP_GEN_C=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\gen.obj"	"$(INTDIR)\gen.sbr" : $(SOURCE) $(DEP_CPP_GEN_C)\
 "$(INTDIR)"


SOURCE=.\globals.c
DEP_CPP_GLOBA=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\globals.obj"	"$(INTDIR)\globals.sbr" : $(SOURCE) $(DEP_CPP_GLOBA)\
 "$(INTDIR)"


SOURCE=.\hash.c
DEP_CPP_HASH_=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	".\hash.h"\
	

"$(INTDIR)\hash.obj"	"$(INTDIR)\hash.sbr" : $(SOURCE) $(DEP_CPP_HASH_)\
 "$(INTDIR)"


SOURCE=.\lex.c
DEP_CPP_LEX_C=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\lex.obj"	"$(INTDIR)\lex.sbr" : $(SOURCE) $(DEP_CPP_LEX_C)\
 "$(INTDIR)"


SOURCE=.\main.c
DEP_CPP_MAIN_=\
	"..\h\antlr.h"\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\mode.h"\
	".\proto.h"\
	".\stdpccts.h"\
	".\syn.h"\
	".\tokens.h"\
	

"$(INTDIR)\main.obj"	"$(INTDIR)\main.sbr" : $(SOURCE) $(DEP_CPP_MAIN_)\
 "$(INTDIR)" "$(INTDIR)\tokens.h" "$(INTDIR)\mode.h"


SOURCE=.\misc.c
DEP_CPP_MISC_=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\misc.obj"	"$(INTDIR)\misc.sbr" : $(SOURCE) $(DEP_CPP_MISC_)\
 "$(INTDIR)"


SOURCE=.\mrhoist.c
DEP_CPP_MRHOI=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\mrhoist.obj"	"$(INTDIR)\mrhoist.sbr" : $(SOURCE) $(DEP_CPP_MRHOI)\
 "$(INTDIR)"


SOURCE=.\pred.c
DEP_CPP_PRED_=\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\proto.h"\
	".\syn.h"\
	

"$(INTDIR)\pred.obj"	"$(INTDIR)\pred.sbr" : $(SOURCE) $(DEP_CPP_PRED_)\
 "$(INTDIR)"


SOURCE=.\scan.c
DEP_CPP_SCAN_=\
	"..\h\antlr.h"\
	"..\h\dlgauto.h"\
	"..\h\dlgdef.h"\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	".\generic.h"\
	".\hash.h"\
	".\mode.h"\
	".\proto.h"\
	".\syn.h"\
	".\tokens.h"\
	

"$(INTDIR)\scan.obj"	"$(INTDIR)\scan.sbr" : $(SOURCE) $(DEP_CPP_SCAN_)\
 "$(INTDIR)" "$(INTDIR)\tokens.h" "$(INTDIR)\mode.h"


SOURCE=..\support\set\set.c
DEP_CPP_SET_C=\
	"..\h\pccts_stdio.h"\
	"..\h\pccts_stdlib.h"\
	"..\h\pccts_string.h"\
	"..\h\pcctscfg.h"\
	"..\support\set\set.h"\
	

"$(INTDIR)\set.obj"	"$(INTDIR)\set.sbr" : $(SOURCE) $(DEP_CPP_SET_C)\
 "$(INTDIR)"
	$(CPP) $(CPP_PROJ) $(SOURCE)



!ENDIF 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?