source: proto/JSON/Makefile @ 791

Last change on this file since 791 was 791, checked in by ksherdy, 9 years ago

Add Pybit/Pablo? specific commands.

File size: 639 bytes
Line 
1PYBIT_COMPILER=../Compiler/bitstream_compiler.py
2PYBIT_TEMPLATE=json_pybit_template.c
3PYBIT_SRCFILE=json_pybit_compilable.py
4PYBIT_OUTFILE=src/pybit_json.c
5
6PABLO_COMPILER=../Compiler/compiler2.py
7PABLO_TEMPLATE=json_pablo_template.c
8PABLO_SRCFILE=json_pablo_compilable.py
9PABLO_OUTFILE=src/pablo_json.c
10
11pybit:  $(PYBIT_SRCFILE)
12        python $(PYBIT_COMPILER) $(PYBIT_SRCFILE) $(PYBIT_OUTFILE) -t $(PYBIT_TEMPLATE)
13
14pybit_clean:   
15        rm -f $(PYBIT_OUTFILE)
16
17pablo:  $(PABLO_SRCFILE)
18        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(PABLO_TEMPLATE) -o $(PABLO_OUTFILE)
19
20pablo_help:
21        python  $(PABLO_COMPILER) -h
22
23pablo_clean:   
24        rm -f $(PABLO_OUTFILE)
Note: See TracBrowser for help on using the repository browser.