source: proto/xmlschema/test/Makefile @ 3530

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

check test Makefile

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