summaryrefslogtreecommitdiff
path: root/digital/io/src/gutter/Makefile.gutter
blob: ceae7a8a9112afdaace8360123fb42f814943977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CFLAGS = -O2 -Wall

all: prgm exe dot png 

prgm: gutter.fsm gutter.conf
	python ../../../../tools/dfagen/dfagen.py -o c -d $< -c gutter.conf -p gutter 

exe: gutter.fsm gutter.conf
	make prgm

dot: gutter.fsm gutter.conf
	python ../../../../tools/dfagen/dfagen.py -o dot -d $< -c gutter.conf -p gutter

png: gutter.dot
	dot -Tpng -o gutter.png gutter.dot

clean:
	rm -f gutter.h
	rm -f gutter_cb.h
	rm -f gutter.dot
	rm -f gutter.png
	rm -f gutter.c