📄 makefile
字号:
# Makefile for empty SVM-cfg, 03.10.06#Use the following to compile under unix or cygwinCC = gccLD = gcc#Call 'make' using the following line to make CYGWIN produce stand-alone Windows executables# make 'SFLAGS=-mno-cygwin'#LD = purify -log-file=pure.log gcc#CC = attolcc -mempro -perfpro -block -proc -- gcc#LD = attolcc -mempro -perfpro -block -proc -- gccCFLAGS = $(SFLAGS) -O3 -fomit-frame-pointer -ffast-math -Wall LDFLAGS = $(SFLAGS) -O3 -lm #CFLAGS = $(SFLAGS) -g -Wall#LDFLAGS = $(SFLAGS) -g -lm#CFLAGS = $(SFLAGS) -pg -Wall#LDFLAGS = $(SFLAGS) -pg -Wallall: ckyml count-local-trees svm_cfg_learn_hideo svm_cfg_classifyclean: svm_light_clean svm_struct_clean rm -f *.o *.tcov *.d core gmon.out *.stackdump rm -fr cykml cykp count-local-trees f2-21.lt svm_cfg_learn svm_cfg_classify#-----------------------##---- SVM-light ----##-----------------------#svm_light_hideo_noexe: cd svm_light; make svm_learn_hideo_noexesvm_light_loqo_noexe: cd svm_light; make svm_learn_loqo_noexesvm_light_clean: cd svm_light; make clean#----------------------##---- STRUCT SVM ----##----------------------#svm_struct_noexe: cd svm_struct; make svm_struct_noexesvm_struct_clean: cd svm_struct; make clean#-----------------------##---- CFG Parser ----##-----------------------#ckyml: cky.o hash-string.o mmm.o tree.o ledge.o grammar_ml.o vindex.o $(LD) $(LDFLAGS) cky.o hash-string.o mmm.o tree.o ledge.o grammar_ml.o vindex.o -o ckymlcount-local-trees: count-local-trees.o mmm.o hash-string.o vindex.o tree.o $(LD) $(LDFLAGS) count-local-trees.o mmm.o hash-string.o vindex.o tree.o -o count-local-treescky.o: cky.c local-trees.h hash-string.h hash-templates.h hash.h mmm.h \ tree.h vindex.h ledge.h grammar.h vindex.hblockalloc.o: blockalloc.c mmm.hckyp.o: ckyp.c local-trees.h hash-string.h hash-templates.h hash.h mmm.h \ tree.h vindex.h ledge.h grammar.hcount-tdlts.o: count-tdblts.c local-trees.h mmm.h hash-string.h hash.h \ vindex.h tree.hcount-pblts.o: count-pblts.c local-trees.h mmm.h hash-string.h hash.h \ vindex.h tree.hcount-blts.o: count-blts.c local-trees.h mmm.h hash-string.h hash.h \ vindex.h tree.hcount-local-trees.o: count-local-trees.c local-trees.h mmm.h \ hash-string.h hash.h vindex.h tree.hgrammar.o: grammar.c local-trees.h hash-string.h hash.h hash-templates.h \ grammar.h mmm.hgrammar_ml.o: grammar_ml.c local-trees.h hash-string.h hash.h \ hash-templates.h grammar.h mmm.hlgrammar.o: lgrammar.c local-trees.h hash-string.h hash.h hash-templates.h \ lgrammar.h mmm.htree.o: tree.c tree.h hash-string.h hash.h mmm.h local-trees.hftree.o: ftree.c ftree.h hash-string.h hash.h mmm.h local-trees.hvindex.o: vindex.c vindex.h mmm.h hash.h hash-templates.hhash-string.o : hash.c hash-string.h hash.h hash-templates.h mmm.hmmm.o : mmm.c mmm.h f2-21.lt: count-local-trees f2-21.txt.gz zcat f2-21.txt.gz | count-local-trees > f2-21.lt#-------------------##---- SVM CFG ----##-------------------#svm_cfg_classify: svm_light_hideo_noexe svm_struct_noexe svm_struct/svm_struct_classify.o svm_struct_api.o svm_struct/svm_struct_common.o svm_struct/svm_struct_main.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o $(LD) $(LDFLAGS) svm_struct/svm_struct_classify.o svm_light/svm_common.o svm_struct/svm_struct_common.o svm_struct_api.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o -o svm_cfg_classify $(LIBS)svm_cfg_learn_loqo: svm_light_loqo_noexe svm_struct_noexe svm_struct/svm_struct_learn.o svm_struct_api.o svm_struct/svm_struct_common.o svm_struct/svm_struct_main.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o $(LD) $(LDFLAGS) svm_struct/svm_struct_learn.o svm_light/svm_loqo.o svm_light/pr_loqo/pr_loqo.o svm_light/svm_learn.o svm_light/svm_common.o svm_struct/svm_struct_common.o svm_struct_api.o svm_struct/svm_struct_main.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o -o svm_cfg_learn $(LIBS)svm_cfg_learn_hideo: svm_light_hideo_noexe svm_struct_noexe svm_struct_api.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o $(LD) $(LDFLAGS) svm_struct/svm_struct_learn.o svm_light/svm_hideo.o svm_light/svm_learn.o svm_light/svm_common.o svm_struct/svm_struct_common.o svm_struct_api.o svm_struct/svm_struct_main.o tree.o vindex.o mmm.o hash-string.o grammar.o ledge.o -o svm_cfg_learn $(LIBS)svm_struct_api.o: svm_struct_api.c svm_struct_api.h svm_struct_api_types.h svm_struct/svm_struct_common.h $(CC) -c $(CFLAGS) svm_struct_api.c -o svm_struct_api.o# junkcount2prob_grammar: count2prob_grammar.o hash-string.o mmm.o tree.o ledge.o grammar_ml.o vindex.o $(LD) $(LDFLAGS) count2prob_grammar.o hash-string.o mmm.o tree.o ledge.o grammar_ml.o vindex.o -o count2prob_grammarcount2prob_grammar.o: cky.c local-trees.h hash-string.h hash-templates.h hash.h mmm.h \ tree.h vindex.h ledge.h grammar.h vindex.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -