source: proto/xmlschema/test/Makefile @ 3290

Last change on this file since 3290 was 3290, checked in by shiyangy, 6 years ago

add some test files and modified character set code general file

File size: 518 bytes
Line 
1CC_Input=ccinput
2CC_Compiler=../../proto/charsetcompiler/charset_compiler.py
3CC_Output=ccoutput
4CC_Output_Lex = lex
5
6PABLO_SRC_CC=../parabix2_validation_cc.py
7PABLO_SRC_LEX=../parabix2_validation_cc_1.py
8PABLO_SRC=../parabix2_validation.py
9
10all: cc
11
12cc:
13        python $(CC_Compiler) $(CC_Input) > $(CC_Output)
14        sed -e '/@cc_code/{r $(CC_Output)' -e 'd}' $(PABLO_SRC_CC) > $(PABLO_SRC_LEX)
15        sed -e '/@cc_lex/{r $(CC_Output_Lex)' -e 'd}' $(PABLO_SRC_LEX) > $(PABLO_SRC)
16       
17clean:
18        rm -f -f $(OUTFILE) $(CC_Output) $(PABLO_SRC)
Note: See TracBrowser for help on using the repository browser.