source: proto/u8u16/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: 425 bytes
Line 
1SRCFILE=u8u16_compilable.py
2OUTFILE=src/u8u16.c
3COMPILER=../Compiler/bitstream_compiler.py
4
5PABLO_SRCFILE=u8u16_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
Note: See TracBrowser for help on using the repository browser.