source: proto/parabix2/Makefile @ 786

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

Update Makefile for use with the optparse module.

File size: 433 bytes
Line 
1SRCFILE=parabix2_compilable.py
2OUTFILE=src/xmlwf.c
3COMPILER=../Compiler/bitstream_compiler.py
4
5PABLO_SRCFILE=parabix2_pablo.py
6PABLO_COMPILER=../Compiler/compiler2.py
7PABLO_TEMPLATE=pablo_template.c
8
9
10all:    $(SRCFILE)
11        python $(COMPILER) $(SRCFILE) $(OUTFILE)
12
13clean: 
14        rm -f $(OUTFILE)
15
16pablo:  $(PABLO_SRCFILE)
17        python $(PABLO_COMPILER) $(PABLO_SRCFILE) -t $(PABLO_TEMPLATE) -o $(OUTFILE)
18
19pablo_help:
20        python  $(PABLO_COMPILER) -h
21
Note: See TracBrowser for help on using the repository browser.