From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- web/yacco2/library/testMakefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 web/yacco2/library/testMakefile (limited to 'web/yacco2/library/testMakefile') diff --git a/web/yacco2/library/testMakefile b/web/yacco2/library/testMakefile new file mode 100644 index 0000000000..e5e3f2a32b --- /dev/null +++ b/web/yacco2/library/testMakefile @@ -0,0 +1,28 @@ +# testMakefile +O_dir = '/yacco2/library/' +O_dir_grms = '/yacco2/library/grammars' +CCC = CC +CXX = CC +O_libs = -I'/yacco2/library/grammars' -I'/yacco2/library' +BASICOPTS = -fast -m64 -mt -lpthread #-fast -xtarget=opteron -xarch=amd64 -mt #-g0 #-xpg #-p #-a #-g +#BASICOPTS = #-fast -m64 -m -lpthread #-fast -xtarget=opteron -xarch=amd64 -mt #-g0 #-xpg #-p #-a #-g +CXXFLAGS = $(BASICOPTS) $(O2_libs) +w_b1 = $(O2_dir)CAbs_lr1_sym.w $(O2_dir)bugs.w $(O2_dir)constants.w $(O2_dir)constraints.w $(O2_dir)enum.w $(O2_dir)fsm.w +w_b2 = $(O2_dir)fsm_tbls.w $(O2_dir)gbl_defs.w $(O2_dir)intro.w $(O2_dir)macros.w $(O2_dir)notes.w $(O2_dir)parse_env.w $(O2_dir)parser.w +w_b3 = $(O2_dir)pms.w $(O2_dir)rc.w $(O2_dir)runtime_env.w $(O2_dir)sampleoutput.w $(O2_dir)set.w $(O2_dir)structures.w +w_b4 = $(O2_dir)tblkup.w $(O2_dir)testsuites.w $(O2_dir)thread.w $(O2_dir)tok_can.w $(O2_dir)tree.w $(O2_dir)wthread.w +w_suffix_files = $(w_b1) $(w_b2) $(w_b3) $(w_b4) +files_to_cc = wrc.cpp yacco2.cpp wtok_can.cpp wtree.cpp wthread.cpp wset.cpp +all: wlibrary.w #$(files_to_cc) +wlibrary.w: + cweave $(O2_dir)$@ + ctangle -l +e $(O2_dir)$@ + sh Makefile_Edit_cweb + pdftex wlibrary + rm wlibrary.idx + rm wlibrary.scn + rm wlibrary.toc + rm wlibrary.tex + rm wlibrary.log + rm texput.log + rm wlibrary.c -- cgit v1.2.3